]> git.hoellein.online Git - vserver2/commitdiff
committing changes in /etc made by "apt-get install apt-show-versions"
authormhoellein <mario@hoellein.online>
Fri, 3 Sep 2021 10:43:17 +0000 (12:43 +0200)
committermhoellein <mario@hoellein.online>
Fri, 3 Sep 2021 10:43:17 +0000 (12:43 +0200)
Package changes:
+apt-show-versions 0.22.11 all
+libapt-pkg-perl 0.1.36build3 amd64

.etckeeper
apt/apt.conf.d/20apt-show-versions [new file with mode: 0644]
cron.daily/apt-show-versions [new file with mode: 0755]

index bb69e476624c2a0158e9ab98ef2a3e249ee2d9d0..189c41c600cdd201a3681ca5e11e0c8cc9184373 100755 (executable)
@@ -391,6 +391,7 @@ 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/20apt-esm-hook.conf'
+maybe chmod 0644 'apt/apt.conf.d/20apt-show-versions'
 maybe chmod 0644 'apt/apt.conf.d/50command-not-found'
 maybe chmod 0644 'apt/apt.conf.d/51ubuntu-advantage-esm'
 maybe chmod 0644 'apt/apt.conf.d/70debconf'
@@ -489,6 +490,7 @@ maybe chmod 0755 'cron.daily'
 maybe chmod 0644 'cron.daily/.placeholder'
 maybe chmod 0755 'cron.daily/apache2'
 maybe chmod 0755 'cron.daily/apt-compat'
+maybe chmod 0755 'cron.daily/apt-show-versions'
 maybe chmod 0755 'cron.daily/aptitude'
 maybe chmod 0755 'cron.daily/bsdmainutils'
 maybe chmod 0755 'cron.daily/dpkg'
diff --git a/apt/apt.conf.d/20apt-show-versions b/apt/apt.conf.d/20apt-show-versions
new file mode 100644 (file)
index 0000000..97f59d2
--- /dev/null
@@ -0,0 +1,4 @@
+// When Apt's cache is updated (i.e. apt-get update)
+APT::Update::Post-Invoke-Success {
+"test -x /usr/bin/apt-show-versions || exit 0 ; apt-show-versions -i";
+};
diff --git a/cron.daily/apt-show-versions b/cron.daily/apt-show-versions
new file mode 100755 (executable)
index 0000000..9c173c9
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ -f /usr/bin/apt-show-versions ] || exit 0
+
+apt-show-versions -i