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
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)
;;
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
;;