diff --git a/.gitignore b/.gitignore index 69c6175..63cf81c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,2 @@ -*.7z -*.tar.gz -*.tar.xz +files/* diff --git a/Makefile b/Makefile index a193314..f5f0351 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,3 @@ all: - rsync -avr --delete --delete-excluded ./* unixpeople.org:/var/www/unixpeople.org/www/htdocs/ + rsync -avr --delete --delete-excluded --exclude=*.sh ./* unixpeople.org:/var/www/unixpeople.org/www/htdocs/ diff --git a/checksum.sh b/checksum.sh new file mode 100755 index 0000000..2b921ad --- /dev/null +++ b/checksum.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +cd files/ + +rm -rf *.sha256 + +for i in *; do + echo $i + sha256sum $i | tee $i.sha256; +done +