Update makeconf.sh

This commit is contained in:
SteveTinkers 2021-11-18 20:06:28 -05:00 committed by GitHub
parent c89bea129b
commit e3a378ac8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 2 deletions

View File

@ -130,7 +130,11 @@ echo "" >> $configFileName
# echo "INSTALLING AUR DEFAULT PACKAGE: ${PKG}"
# yay -S --noconfirm $PKG
# echo "${PKG}"
echo "${PKG}" >> $configFileName
if [ "${PKG}" == "PKGS_AUR_DEFAULT=(" ]; then
echo "PKGS_AUR=("
else
echo "${PKG}" >> $configFileName
fi
done
#else
# echo "installing AUR user specified packages"
@ -155,7 +159,11 @@ echo "" >> $configFileName
for PKG in "${PKGS_ARCH_DEFAULT[@]}"; do
# echo "INSTALLING ARCH DEFAULT PACKAGE: ${PKG}"
# pacman -S "$PKG" --noconfirm --needed
echo "${PKG}" >> $configFileName
if [ "${PKG}" == "PKGS_ARCH_DEFAULT=(" ]; then
echo "PKGS_ARCH=("
else
echo "${PKG}" >> $configFileName
fi
done
#else
# echo "installing arch user specified packages"