mirror of https://github.com/dirtbags/moth.git
backup/encryption wasn't actually working properly
This commit is contained in:
parent
0c4d9c8502
commit
9c291c93fd
|
@ -26,7 +26,7 @@ for pwfile in $PACKAGES/*/password; do
|
|||
if [ -f $pwfile ]; then
|
||||
(
|
||||
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
|
||||
mv $BACKUP.new $BACKUP
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue