From f67e1ac447f69097956890d23f8fa58b39c7d1e1 Mon Sep 17 00:00:00 2001 From: Jona Reichmann <34141868+jreichmann@users.noreply.github.com> Date: Sat, 9 Mar 2019 14:30:33 +0100 Subject: [PATCH] Fix broken links --- initialSetup.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/initialSetup.sh b/initialSetup.sh index abc4a17..69a4c61 100755 --- a/initialSetup.sh +++ b/initialSetup.sh @@ -4,8 +4,9 @@ if [[ $(command -v dnf) == 0 ]]; then sudo -i dnf install tmux git gnupg2 openssh -elif +elif [[ $(command -v pacman) == 0 ]]; then sudo pacman -S tmux git gnupg openssh +fi # Set up tmux ln -s ./tmux/tmux.conf ~/.tmux.conf @@ -18,11 +19,11 @@ ln -s ./redshift/redshift.conf ~/.config/redshift/redshift.conf # Set up gnupg things mkdir -p ~/.gnupg -ln -s ./gnupg/gpg.conf ~/.gnupg/gpg.conf -ln -s ./gnupg/gpg-agent.conf ~/.gnupg/gpg-agent.conf -ln -s ./gnupg/sshcontrol ~/.gnupg/sshcontrol -ln -s ./gnupg/gnupg_agent ~/.gnupg/gnupg_agent -chmod u+x ~/.gnupg/gnupg_agent +HERE=$(pwd) +ln -s $HERE/gnupg/gpg.conf ~/.gnupg/gpg.conf +ln -s $HERE/gnupg/gpg-agent.conf ~/.gnupg/gpg-agent.conf +ln -s $HERE/gnupg/sshcontrol ~/.gnupg/sshcontrol +ln -s $HERE/gnupg/gnupg_agent ~/.gnupg/gnupg_agent git config --global gpg.program gpg2 git config --global user.name jreichmann