From fa5ab670fbbf09f197e2d3c3341b8072d05f2892 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 27 Jan 2009 21:53:47 +0100 Subject: [PATCH] 'fixed bash and textinfo reinstall, fixed configure break' --- usr/share/archboot/installer/setup | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr/share/archboot/installer/setup b/usr/share/archboot/installer/setup index e91e62eb9..f0a52e9fc 100755 --- a/usr/share/archboot/installer/setup +++ b/usr/share/archboot/installer/setup @@ -955,8 +955,8 @@ installpkg() { echo -e "\nPackage Installation Complete." >>/tmp/pacman.log fi ### HACK to fix infofiles in bash and texinfo! - [ $(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 texinfo)" ] && $PACMAN -S texinfo 2>&1 >> /tmp/pacman.log + [ "$(echo $PACKAGES | grep bash)" ] && $PACMAN -S bash 2>&1 >> /tmp/pacman.log rm /tmp/setup-pacman-running ) & @@ -1692,7 +1692,7 @@ configure_system() "/etc/pacman.d/mirrorlist" "Pacman Mirror List" \ "/etc/pacman.conf" "Pacman Config File" \ "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)" if [ "$FILE" = "Return" -o -z "$FILE" ]; then # exit