cleanup
This commit is contained in:
@@ -112,9 +112,14 @@ if [[ "$keystore_passphrase" != "$keystore_passphrase_check" ]]; then
|
||||
echo -e "\n\n\033[0;31mKeystore passphrases do not match! Exiting!\033[0m\n\n" > /dev/null 2>&1
|
||||
exit 1
|
||||
fi
|
||||
unset keystore_passphrase_check > /dev/null 2>&1
|
||||
|
||||
printf "archivin keys"
|
||||
7z a "keystore/keystore_${unix_seconds}.7z" "private_*" "private_*.pub" "attribution_passphrase_${unix_seconds}.txt" > /dev/null 2>&1
|
||||
7z a "keystore/keystore_${unix_seconds}.7z" -p$keystore_passphrase "private_*" "private_*.pub" "attribution_passphrase_${unix_seconds}.txt" > /dev/null 2>&1
|
||||
checkcode $?
|
||||
|
||||
printf "testing key archive"
|
||||
7z t "keystore/keystore_${unix_seconds}.7z" -p$keystore_passphrase > /dev/null 2>&1
|
||||
checkcode $?
|
||||
|
||||
printf "resetting environment..."
|
||||
|
||||
Reference in New Issue
Block a user