From: mhoellein Date: Fri, 3 Sep 2021 10:43:17 +0000 (+0200) Subject: committing changes in /etc made by "apt-get install apt-show-versions" X-Git-Url: https://git.hoellein.online/?a=commitdiff_plain;h=b488ddc3c7871aa4625f983ed4f9776de3c14830;p=vserver2 committing changes in /etc made by "apt-get install apt-show-versions" Package changes: +apt-show-versions 0.22.11 all +libapt-pkg-perl 0.1.36build3 amd64 --- diff --git a/.etckeeper b/.etckeeper index bb69e47..189c41c 100755 --- a/.etckeeper +++ b/.etckeeper @@ -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 index 0000000..97f59d2 --- /dev/null +++ b/apt/apt.conf.d/20apt-show-versions @@ -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 index 0000000..9c173c9 --- /dev/null +++ b/cron.daily/apt-show-versions @@ -0,0 +1,5 @@ +#!/bin/sh + +[ -f /usr/bin/apt-show-versions ] || exit 0 + +apt-show-versions -i