summaryrefslogtreecommitdiff
path: root/dselect
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:56:10 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:56:10 +0000
commitda90e41bb19dbfcb954c22e3e7065a504234e4b6 (patch)
treef901b174d4a6d02c362de5b86f6a78c5343e06fc /dselect
parent4286fa75bf7d5381ea2102cffd8f1b613c4398b0 (diff)
downloadapt-da90e41bb19dbfcb954c22e3e7065a504234e4b6.tar.gz
Changed handling of the no-dowload case
Author: jgg Date: 2000-06-21 01:58:21 GMT Changed handling of the no-dowload case
Diffstat (limited to 'dselect')
-rwxr-xr-xdselect/install8
1 files changed, 1 insertions, 7 deletions
diff --git a/dselect/install b/dselect/install
index 8ac3523b..e543344b 100755
--- a/dselect/install
+++ b/dselect/install
@@ -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
;;