Fixes install script

master
Jonathan Hodgson 5 years ago
parent 9489c64a52
commit 9a0565c195
  1. 18
      install.sh

@ -71,10 +71,14 @@ pacmanInstall(){
"zathura-pdf-mupdf" "zathura-pdf-mupdf"
"zsh" "zsh"
) )
if pacman -Qs $package > /dev/null; then for package in ${packages[*]}; do
echo "Installing $i" if pacman -Qs $package > /dev/null; then
sudo pacman -S $i echo "Installing $package"
fi sudo pacman -S $package
else
echo "Already installed $package"
fi
done
} }
aurInstall(){ aurInstall(){
@ -106,8 +110,8 @@ stInstall(){
cd $SCRIPT_DIR cd $SCRIPT_DIR
} }
dwmInstall #dwmInstall
stInstall #stInstall
pacmanInstall pacmanInstall
doStow #doStow

Loading…
Cancel
Save