summaryrefslogtreecommitdiff
path: root/hooks
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
parent34468c14e4a7da4ac6bd594f058caa7dea3074c4 (diff)
downloadvyos-live-build-3e3576989c49d78249072ecd6160a1c8bd1d1cf8.tar.gz
vyos-live-build-3e3576989c49d78249072ecd6160a1c8bd1d1cf8.zip
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')
-rwxr-xr-xhooks/mini2
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/mini b/hooks/mini
index 5a296d555..491091463 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