28 lines
1.4 KiB
Bash
Executable File
28 lines
1.4 KiB
Bash
Executable File
#! /bin/bash
|
|
|
|
echo "Let's get set up"
|
|
echo """
|
|
|
|
░▒█▀▀▀█░▀▀█▀▀░█▀▀▄░▀▀█▀▀░▀█▀░▒█▀▀▀█░▒█▄░▒█░░░▒█▀▀▀█░▒█▀▀▀░▀▀█▀▀░▒█░▒█░▒█▀▀█
|
|
░░▀▀▀▄▄░░▒█░░▒█▄▄█░░▒█░░░▒█░░▒█░░▒█░▒█▒█▒█░░░░▀▀▀▄▄░▒█▀▀▀░░▒█░░░▒█░▒█░▒█▄▄█
|
|
░▒█▄▄▄█░░▒█░░▒█░▒█░░▒█░░░▄█▄░▒█▄▄▄█░▒█░░▀█░░░▒█▄▄▄█░▒█▄▄▄░░▒█░░░░▀▄▄▀░▒█░░░
|
|
|
|
"""
|
|
|
|
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"
|