2 # Filename: /etc/grml/fai/config/scripts/GRMLBASE/97-apt-listchanges
3 # Purpose: configure apt-listchanges
4 # Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports: see http://grml.org/bugs/
6 # License: This file is licensed under the GPL v2 or any later version.
7 # Latest change: Sun Jan 20 00:25:52 CET 2008 [mika]
8 ################################################################################
13 #apt-listchanges apt-listchanges/confirm boolean false
14 #apt-listchanges apt-listchanges/email-address string root
15 #apt-listchanges apt-listchanges/which select news
16 #apt-listchanges apt-listchanges/frontend select pager
17 #apt-listchanges apt-listchanges/save-seen boolean true
19 if [ -x $target/usr/bin/apt-listchanges ] ; then
20 echo 'apt-listchanges apt-listchanges/confirm boolean true' | $ROOTCMD debconf-set-selections
21 echo 'apt-listchanges apt-listchanges/which select both' | $ROOTCMD debconf-set-selections
25 if [ -r $target/etc/apt/listchanges.conf ] ; then
26 sed -i "s/^which=news/which=both/" $target/etc/apt/listchanges.conf
27 sed -i "s/^confirm=0/confirm=1/" $target/etc/apt/listchanges.conf
30 ## END OF FILE #################################################################