summaryrefslogtreecommitdiff
path: root/hooks/mini
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2007-10-29 21:13:53 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:28 +0100
commit3e3576989c49d78249072ecd6160a1c8bd1d1cf8 (patch)
treeac7fb0bd7703d5a2b1838f8b57b27886e38a2af6 /hooks/mini
parent34468c14e4a7da4ac6bd594f058caa7dea3074c4 (diff)
downloadlive-build-3e3576989c49d78249072ecd6160a1c8bd1d1cf8.zip
live-build-3e3576989c49d78249072ecd6160a1c8bd1d1cf8.tar.gz
Avoid [Y/n] query on package autoremove in "mini" hook.
Added "--yes" to "apt-get autoremove" line to avoid APT from popping up a confirmation.
Diffstat (limited to 'hooks/mini')
-rwxr-xr-xhooks/mini2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/mini b/hooks/mini
index 5a296d5..4910914 100755
--- a/hooks/mini
+++ b/hooks/mini
@@ -18,7 +18,7 @@ do
fi
done
-apt-get autoremove || true
+apt-get autoremove --yes || true
# Removing unused files
find . -name *~ | xargs rm -f