]> git.saurik.com Git - apt.git/blobdiff - dselect/install
Changed handling of the no-dowload case
[apt.git] / dselect / install
index 8ac3523bdb4194303a3a945bd9a86de6f868c3dd..e543344b53337d485d3b6b40981b4fbc55300efc 100755 (executable)
@@ -39,7 +39,6 @@ yesno() {
        echo $ans | tr YN yn
 }
 
-OLDLS=`ls -ld $ARCHIVES`
 if [ x$WAIT = "xyes" ]; then
    $APTGET $OPTS -d dselect-upgrade
    echo "Press enter to continue." && read RES
@@ -63,11 +62,6 @@ if [ $RES -eq 0 ]; then
       exit 0
    fi
 
-   NEWLS=`ls -ld $ARCHIVES`
-   if [ "x$OLDLS" = "x$NEWLS" ]; then
-      exit 0
-   fi
-   
    # Check the cleaning mode
    case `echo $CLEAN | tr '[:upper:]' '[:lower:]'` in
      auto)
@@ -78,7 +72,7 @@ if [ $RES -eq 0 ]; then
        ;;
      prompt)
        exec 3>&1
-       if [ `yesno "Do you want to erase the downloaded .deb files?" y` = y ]; then
+       if [ `yesno "Do you want to erase any previously downloaded .deb files?" y` = y ]; then
           $APTGET clean && echo "Press enter to continue." && read RES && exit 0;
        fi
        ;;