Make sure both make and gcc are installed for building dwm.

This commit is contained in:
natemaia 2020-06-14 13:29:37 -07:00
parent 7b0cb1d55e
commit 5ac823892b

View File

@ -6,7 +6,7 @@
# AIF, Calamares, and the Arch Wiki.. Credit where credit is due # AIF, Calamares, and the Arch Wiki.. Credit where credit is due
# shellcheck disable=SC2086,SC2046,SC2254,SC2164 # shellcheck disable=SC2086,SC2046,SC2254,SC2164
VER=2.1.56 VER=2.1.57
# default values { # default values {
@ -2040,7 +2040,7 @@ install_packages()
fi fi
fi fi
[[ $INSTALL_WMS =~ dwm ]] && inpkg+=('git') [[ $INSTALL_WMS =~ dwm ]] && inpkg+=('git make gcc')
[[ $NEWSHELL == 'zsh' ]] && inpkg+=('zsh-completions') [[ $NEWSHELL == 'zsh' ]] && inpkg+=('zsh-completions')
[[ $NEWSHELL =~ (bash|zsh) ]] && inpkg+=('bash-completion') [[ $NEWSHELL =~ (bash|zsh) ]] && inpkg+=('bash-completion')
@ -3126,7 +3126,7 @@ live()
pacman -S "$ses" ${WM_EXT[$ses]} --needed --noconfirm || die 1 pacman -S "$ses" ${WM_EXT[$ses]} --needed --noconfirm || die 1
;; ;;
dwm) dwm)
pacman -S git --needed --noconfirm || die 1 pacman -S git make gcc --needed --noconfirm || die 1
install_suckless "/root" nochroot install_suckless "/root" nochroot
;; ;;
esac esac