'fixed bash and textinfo reinstall, fixed configure break'

This commit is contained in:
Tobias Powalowski 2009-01-27 21:53:47 +01:00
parent 9825e010f3
commit fa5ab670fb

View file

@ -955,8 +955,8 @@ installpkg() {
echo -e "\nPackage Installation Complete." >>/tmp/pacman.log echo -e "\nPackage Installation Complete." >>/tmp/pacman.log
fi fi
### HACK to fix infofiles in bash and texinfo! ### HACK to fix infofiles in bash and texinfo!
[ $(echo $PACKAGES | grep texinfo) ] && $PACMAN -S texinfo 2>&1 >> /tmp/pacman.log [ "$(echo $PACKAGES | grep texinfo)" ] && $PACMAN -S texinfo 2>&1 >> /tmp/pacman.log
[ $(echo $PACKAGES | grep bash) ] && $PACMAN -S bash 2>&1 >> /tmp/pacman.log [ "$(echo $PACKAGES | grep bash)" ] && $PACMAN -S bash 2>&1 >> /tmp/pacman.log
rm /tmp/setup-pacman-running rm /tmp/setup-pacman-running
) & ) &
@ -1692,7 +1692,7 @@ configure_system()
"/etc/pacman.d/mirrorlist" "Pacman Mirror List" \ "/etc/pacman.d/mirrorlist" "Pacman Mirror List" \
"/etc/pacman.conf" "Pacman Config File" \ "/etc/pacman.conf" "Pacman Config File" \
"Root-Password" "Set the root password" \ "Root-Password" "Set the root password" \
"Return" "Return to Main Menu" 2>$ANSWER || FILE="Return" "Return" "Return to Main Menu" 2>$ANSWER || break
FILE="$(cat $ANSWER)" FILE="$(cat $ANSWER)"
if [ "$FILE" = "Return" -o -z "$FILE" ]; then # exit if [ "$FILE" = "Return" -o -z "$FILE" ]; then # exit