diff --git a/daily-use-pcs/setup-git.bash b/daily-use-pcs/setup-git.bash index 663c81a..b8aa29b 100755 --- a/daily-use-pcs/setup-git.bash +++ b/daily-use-pcs/setup-git.bash @@ -49,6 +49,8 @@ fi ############################################ if [ -d "${HOME}/.gnupg/" ]; then echo "GPG key(s) already exist, skipping..." + gpg --list-keys + read -p "Enter the long ID of the key to be used for git:" KEY_ID else # Create GPG key echo "> $ gpg --full-generate-key" @@ -65,9 +67,6 @@ else echo Gitea URL: ${GITEA_URL}/user/settings/keys echo GitHub URL: https://github.com/settings/gpg/new read -p "Press enter when you're done" /dev/null; } if command_exists "apt-get"; then sudo apt-get install zsh -y elif command_exists "yum"; then - sudo apt-get install zsh -y + sudo yum install zsh -y elif command_exists "pacman"; then sudo pacman -S zsh --noconfirm --needed elif command_exists "zypper"; then