summaryrefslogtreecommitdiff
path: root/dselect
diff options
context:
space:
mode:
Diffstat (limited to 'dselect')
-rwxr-xr-xdselect/install5
1 files changed, 4 insertions, 1 deletions
diff --git a/dselect/install b/dselect/install
index db96a8055..2481fcea1 100755
--- a/dselect/install
+++ b/dselect/install
@@ -49,7 +49,10 @@ fi
if [ $RES -eq 0 ]; then
# Check the cleaning mode
case `echo $CLEAN | tr '[:upper:]' '[:lower:]'` in
- always|auto)
+ auto)
+ $APTGET autoclean && echo "Press enter to continue." && read RES && exit 0;
+ ;;
+ always)
$APTGET clean && echo "Press enter to continue." && read RES && exit 0;
;;
prompt)