summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-08-31 14:17:46 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:46 +0100
commit7afd8d1938e72789333e4ab44a307c835793bd44 (patch)
treefc05d236b14c13455691006c3dd1f9f230cb1d1b /examples
parent7c30481bdea8e3e3a99d223b2517729c0f019883 (diff)
downloadlive-build-7afd8d1938e72789333e4ab44a307c835793bd44.zip
live-build-7afd8d1938e72789333e4ab44a307c835793bd44.tar.gz
Simplyfing localepurge hook.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/hooks/localepurge.sh16
1 files changed, 7 insertions, 9 deletions
diff --git a/examples/hooks/localepurge.sh b/examples/hooks/localepurge.sh
index c1f5ea9..3fbb4c4 100755
--- a/examples/hooks/localepurge.sh
+++ b/examples/hooks/localepurge.sh
@@ -5,20 +5,18 @@
# directory.
#
-apt-get install --yes localepurge
-
cat > /tmp/localepurge.preseed << EOF
-localepurge localepurge/nopurge en
-#localepurge localepurge/mandelete true
-#localepurge localepurge/dontbothernew false
-localepurge localepurge/showfreedspace false
-#localepurge localepurge/quickndirtycalc true
-#localepurge localepurge/verbose false
+localepurge localepurge/nopurge multiselect en
+#localepurge localepurge/mandelete boolean true
+#localepurge localepurge/dontbothernew boolean false
+localepurge localepurge/showfreedspace boolean false
+#localepurge localepurge/quickndirtycalc boolean true
+#localepurge localepurge/verbose boolean false
EOF
-
debconf-set-selections < /tmp/localepurge.preseed
rm -f /tmp/localepurge.preseed
+apt-get install --yes localepurge
dpkg-reconfigure localepurge
localepurge