]> Frank Brehm's Git Trees - config/sarah/etc.git/commitdiff
committing changes in /etc after apt run
authorFrank Brehm <frank@brehm-online.com>
Fri, 5 Jan 2018 08:56:23 +0000 (09:56 +0100)
committerFrank Brehm <frank@brehm-online.com>
Fri, 5 Jan 2018 08:56:23 +0000 (09:56 +0100)
Package changes:
+apt-listchanges 3.10 all
+python3-apt 1.4.0~beta3 amd64

.etckeeper
apt/apt.conf.d/20listchanges [new file with mode: 0644]
apt/listchanges.conf [new file with mode: 0644]

index f7d056f4c73f72ac7150512a7d9a7f69680e5d03..9ac36065c490ebbafa3fe1a50b74ad9e296e3e1c 100755 (executable)
@@ -111,9 +111,11 @@ maybe chmod 0644 'apt/apt.conf.d/00trustcdrom'
 maybe chmod 0644 'apt/apt.conf.d/01autoremove'
 maybe chmod 0444 'apt/apt.conf.d/01autoremove-kernels'
 maybe chmod 0644 'apt/apt.conf.d/05etckeeper'
+maybe chmod 0644 'apt/apt.conf.d/20listchanges'
 maybe chmod 0644 'apt/apt.conf.d/70debconf'
 maybe chmod 0644 'apt/apt.conf.d/99force-ipv4'
 maybe chmod 0644 'apt/foreign-packages.txt.2017-07-19.00'
+maybe chmod 0644 'apt/listchanges.conf'
 maybe chmod 0755 'apt/preferences.d'
 maybe chmod 0644 'apt/repo.uhu-banane.de.gpg-key.pub'
 maybe chmod 0644 'apt/repo.uhu-banane.de.gpg-key2.pub'
diff --git a/apt/apt.conf.d/20listchanges b/apt/apt.conf.d/20listchanges
new file mode 100644 (file)
index 0000000..1768735
--- /dev/null
@@ -0,0 +1,3 @@
+DPkg::Pre-Install-Pkgs { "/usr/bin/apt-listchanges --apt || test $? -lt 10"; };
+DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
+DPkg::Tools::Options::/usr/bin/apt-listchanges::InfoFD "20";
diff --git a/apt/listchanges.conf b/apt/listchanges.conf
new file mode 100644 (file)
index 0000000..28cb19a
--- /dev/null
@@ -0,0 +1,7 @@
+[apt]
+frontend=pager
+confirm=false
+email_address=root
+save_seen=/var/lib/apt/listchanges.db
+which=news
+