Improving scripts
This commit is contained in:
@@ -9,9 +9,19 @@ echo """
|
||||
|
||||
"""
|
||||
|
||||
"$HOME/.local/bin/install/password.sh"
|
||||
"$HOME/.local/bin/install/password-manager.sh"
|
||||
"$HOME/.local/bin/install/ssh.sh"
|
||||
"$HOME/.local/bin/install/server.sh"
|
||||
"$HOME/.local/bin/install/firefox.sh"
|
||||
"$HOME/.local/bin/install/nextcloud.sh"
|
||||
export MASTERPW=$(gum input --header="Enpass Master password" --password)
|
||||
|
||||
"$HOME/.local/bin/station-install/password.sh"
|
||||
"$HOME/.local/bin/station-install/password-manager.sh"
|
||||
|
||||
CHECKPW=$(enpass-cli -vault="$HOME/.local/share/Enpass/Enpass/Vaults/primary" -sort list 2>&1)
|
||||
|
||||
while [[ "$CHECKPW" == *level=error* ]]; do
|
||||
export MASTERPW=$(gum input --header="Enpass Master password (incorrect, try again)" --password)
|
||||
CHECKPW=$(enpass-cli -vault="$VAULT_DIR" -sort list)
|
||||
done
|
||||
|
||||
"$HOME/.local/bin/station-install/ssh.sh"
|
||||
"$HOME/.local/bin/station-install/server.sh"
|
||||
# "$HOME/.local/bin/station-install/firefox.sh"
|
||||
# "$HOME/.local/bin/station-install/nextcloud.sh"
|
||||
|
||||
Reference in New Issue
Block a user