This commit is contained in:
Santiago Lo Coco 2022-01-30 15:52:28 -03:00
parent a28f6ae40d
commit 02e39f9e2f
1 changed files with 2 additions and 1 deletions

View File

@ -211,6 +211,7 @@ installPackage() {
else
pacstrap /mnt --needed "${1}" 2>&1 | debug
fi
exit
;;
B)
flag=""
@ -636,7 +637,7 @@ runScript() {
printLogo
sed -i -e '/^\[extra\]/,/^Include/ s/^/#/' -e '/^\[community\]/,/^Include/ s/^/#/' /etc/pacman.conf
pacman -Sy --needed --noconfirm dialog 2>&1 | debug
sed -i -e '/\[extra\]/,/Include/ s/^#//' -e '/\[community\]/,/Include/ s/^#//' /etc/pacman.conf
# sed -i -e '/\[extra\]/,/Include/ s/^#//' -e '/\[community\]/,/Include/ s/^#//' /etc/pacman.conf
fi
if [ ! -f "/etc/dialogrc" ]; then