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 ################################################################################
12 #apt-listchanges apt-listchanges/confirm boolean false
13 #apt-listchanges apt-listchanges/email-address string root
14 #apt-listchanges apt-listchanges/which select news
15 #apt-listchanges apt-listchanges/frontend select pager
16 #apt-listchanges apt-listchanges/save-seen boolean true
18 if [ -x $target/usr/bin/apt-listchanges ] ; then
19 echo 'apt-listchanges apt-listchanges/confirm boolean true' | $ROOTCMD debconf-set-selections
20 echo 'apt-listchanges apt-listchanges/which select both' | $ROOTCMD debconf-set-selections
24 if [ -r $target/etc/apt/listchanges.conf ] ; then
25 sed -i "s/^which=news/which=both/" $target/etc/apt/listchanges.conf
26 sed -i "s/^confirm=0/confirm=1/" $target/etc/apt/listchanges.conf
29 ## END OF FILE #################################################################