]> Frank Brehm's Git Trees - config/bruni/etc-mint-new1.git/commitdiff
committing changes in /etc made by "/usr/bin/apt upgrade ubuntu-advantage-tools"
authorFrank Brehm <frank@brehm-online.com>
Sun, 29 Jan 2023 23:31:23 +0000 (00:31 +0100)
committerFrank Brehm <root@bruni.home.brehm-online.com>
Sun, 29 Jan 2023 23:31:23 +0000 (00:31 +0100)
Packages with configuration changes:
-ubuntu-advantage-tools 27.13.1~22.04.1 amd64
+ubuntu-advantage-tools 27.13.2~22.04.1 amd64

Package changes:
-ubuntu-advantage-tools 27.13.1~22.04.1 amd64
+ubuntu-advantage-tools 27.13.2~22.04.1 amd64

apt/apt.conf.d/20apt-esm-hook.conf

index be60038bbcd18deac291c28290052e7da3f4d5eb..7bcae444bbdc50d38c39f429757e0d09f0af62ac 100644 (file)
@@ -1,5 +1,5 @@
 APT::Update::Pre-Invoke {
-       "[ ! -e /run/systemd/system ] || systemctl start --no-block apt-news.service esm-cache.service || true";
+       "[ ! -e /run/systemd/system ] || [ $(id -u) -ne 0 ] || systemctl start --no-block apt-news.service esm-cache.service || true";
 };
 
 APT::Update::Post-Invoke-Stats {