Fixes install script

Jonathan Hodgson 5 years ago
parent aa8fe782bf
commit 4dc3d4cfd2
  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