cleanup
This commit is contained in:
@@ -69,7 +69,7 @@ if [[ "$attribution_passphrase" != "$attribution_passphrase_check" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo -e "attribution_passphrase: \033[0;32mOK!\033[0m"
|
echo -e "attribution_passphrase: \033[0;32mOK!\033[0m"
|
||||||
echo "$attribution_passphrase" > "attribution_passphrase_${unix_seconds}.txt
|
echo "$attribution_passphrase" > "attribution_passphrase_${unix_seconds}.txt"
|
||||||
fi
|
fi
|
||||||
unset attribution_passphrase_check
|
unset attribution_passphrase_check
|
||||||
unset attribution_passphrase
|
unset attribution_passphrase
|
||||||
@@ -94,4 +94,11 @@ unset attribution_passphrase
|
|||||||
printf "7z archiving outer dir"
|
printf "7z archiving outer dir"
|
||||||
7z a "./out.7z" "$out_dir"
|
7z a "./out.7z" "$out_dir"
|
||||||
checkcode $?
|
checkcode $?
|
||||||
|
printf "moving out.7z to archives"
|
||||||
|
mv out.7z "archives/out_${unix_seconds}.7z"
|
||||||
|
checkcode $?
|
||||||
|
bash reset.sh
|
||||||
|
|
||||||
|
printf "archivin keys"
|
||||||
|
7z a "keystore/keystore_${unix_seconds}.7z" "$key_store" "${key_store}.pub" "attribution_passphrase_${unix_seconds}.txt" "attribution_passphrase_${unix_seconds}.txt"
|
||||||
|
checkcode $?
|
||||||
|
|||||||
Reference in New Issue
Block a user