backup/encryption wasn't actually working properly

This commit is contained in:
Aaron McPhall 2013-07-28 13:02:59 -06:00
parent 511703da5e
commit 3e064b5c38
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ for pwfile in $PACKAGES/*/password; do
if [ -f $pwfile ]; then if [ -f $pwfile ]; then
( (
cat bkup.png cat bkup.png
tar cf - $STATE | gzip -c | $PACKAGES/*/bin/tea 3< $pwfile tar cf - $STATE | gzip -c | $PACKAGES/*/bin/tea -e 3< $pwfile
) > $BACKUP.new ) > $BACKUP.new
mv $BACKUP.new $BACKUP mv $BACKUP.new $BACKUP
break break