]> git.saurik.com Git - apt.git/blobdiff - dselect/install
* dselect/install:
[apt.git] / dselect / install
index 61d13208e2f9c0d2fc1fa56036edd777d731c129..109307f4de94b513f3f006ace46ed0f27c3f5f39 100755 (executable)
@@ -46,7 +46,7 @@ yesno() {
        echo $ans | tr YN yn
 }
 
-if [ x$WAIT = "xtrue" ]; then
+if [ "$WAIT" = "true" ]; then
    $APTGET $OPTS "$APT_OPT0" "$APT_OPT1" -d dselect-upgrade
    echo $"Press enter to continue." && read RES
    $APTGET $OPTS "$APT_OPT0" "$APT_OPT1" dselect-upgrade
@@ -70,8 +70,8 @@ if [ $RES -eq 0 ]; then
    fi
 
    NEWLS=`ls -ld $ARCHIVES`
-   if [ x$CHECKDIR = "xtrue" ]; then
-      if [ "x$OLDLS" = "x$NEWLS" ]; then
+   if [ "$CHECKDIR" = "true" ]; then
+      if [ "$OLDLS" = "$NEWLS" ]; then
          exit 0
       fi
    fi
@@ -98,8 +98,8 @@ if [ $RES -eq 0 ]; then
        ;;
    esac   
 else
-   echo $"Some errors occurred while unpacking. I'm going to configure the"
-   echo $"packages that were installed. This may result in duplicate errors"
+   echo $"Some errors occurred while unpacking. Packages that were installed"
+   echo $"will be configured. This may result in duplicate errors"
    echo $"or errors caused by missing dependencies. This is OK, only the errors"
    echo $"above this message are important. Please fix them and run [I]nstall again"
    echo $"Press enter to continue."