summaryrefslogtreecommitdiff
path: root/dselect/install
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:56:11 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:56:11 +0000
commitdd5811e6f9b6f0927394e708b7a78dad08732152 (patch)
treec7f4f89db698e9d115cfcc6a1376bac21ad9c129 /dselect/install
parentb8d8c1414db740df09d923376d01f3392741a9d9 (diff)
downloadapt-dd5811e6f9b6f0927394e708b7a78dad08732152.tar.gz
Undid undoing for bug 65952, fix is in aliencode
Author: jgg Date: 2000-07-31 05:05:54 GMT Undid undoing for bug 65952, fix is in aliencode
Diffstat (limited to 'dselect/install')
-rwxr-xr-xdselect/install8
1 files changed, 7 insertions, 1 deletions
diff --git a/dselect/install b/dselect/install
index e543344b..8ac3523b 100755
--- a/dselect/install
+++ b/dselect/install
@@ -39,6 +39,7 @@ 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
@@ -62,6 +63,11 @@ 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)
@@ -72,7 +78,7 @@ if [ $RES -eq 0 ]; then
;;
prompt)
exec 3>&1
- if [ `yesno "Do you want to erase any previously downloaded .deb files?" y` = y ]; then
+ if [ `yesno "Do you want to erase the downloaded .deb files?" y` = y ]; then
$APTGET clean && echo "Press enter to continue." && read RES && exit 0;
fi
;;