summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-01-15 01:34:01 +0000
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:35:33 +0100
commit82556b2855b3ea99603faa8cdf209f6618eec832 (patch)
tree5ec2812af5b3ef90b0a67d1ad4031e5b23f5a8c6
parent52ede0fcce07b309ecef3492a42070eb334cf67a (diff)
downloadvyos-live-build-82556b2855b3ea99603faa8cdf209f6618eec832.tar.gz
vyos-live-build-82556b2855b3ea99603faa8cdf209f6618eec832.zip
Don't prompt when autoremoving packages in minimal hooks.
-rw-r--r--debian/changelog1
-rwxr-xr-xhooks/minimal2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index d6f0250ee..69769127e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ live-helper (1.0~a38-1) UNRELEASED; urgency=medium
* Implement -u/--usage, -v/--version and -h/--help options in lh_clean
(Closes: #454553)
* Remove 'ssl' package references from mini and minimal hooks.
+ * Don't prompt when autoremoving packages in minimal hooks.
-- Daniel Baumann <daniel@debian.org> Mon, 14 Jan 2008 23:32:58 +0000
diff --git a/hooks/minimal b/hooks/minimal
index 7c36f7d67..25d80f2e2 100755
--- a/hooks/minimal
+++ b/hooks/minimal
@@ -18,7 +18,7 @@ do
fi
done
-apt-get autoremove || true
+apt-get autoremove --yes || true
# Removing unused files
find . -name *~ | xargs rm -f