summaryrefslogtreecommitdiff
path: root/dselect
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:52:40 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:52:40 +0000
commitb381f6ed580f9c58c1547fddd92af1b52fc5a1f0 (patch)
treeb9dd1366cb627fec4926900f20fdd0e0d1fcb7b6 /dselect
parent1bc849af8f694ab80887bd0e9b94280f78771dbc (diff)
downloadapt-b381f6ed580f9c58c1547fddd92af1b52fc5a1f0.tar.gz
Clean support
Author: jgg Date: 1999-02-01 08:15:18 GMT Clean support
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)