summaryrefslogtreecommitdiff
path: root/dselect/install
diff options
context:
space:
mode:
Diffstat (limited to 'dselect/install')
-rwxr-xr-xdselect/install6
1 files changed, 6 insertions, 0 deletions
diff --git a/dselect/install b/dselect/install
index 93a0f1e44..3fbab73cf 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
@@ -61,6 +62,11 @@ if [ $RES -eq 0 ]; then
-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