From 7afd8d1938e72789333e4ab44a307c835793bd44 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 31 Aug 2009 14:17:46 +0200 Subject: Simplyfing localepurge hook. --- examples/hooks/localepurge.sh | 16 +++++++--------- 1 file 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 -- cgit v1.0