From: Frank Brehm Date: Sun, 29 Jan 2023 23:31:23 +0000 (+0100) Subject: committing changes in /etc made by "/usr/bin/apt upgrade ubuntu-advantage-tools" X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=21b187d1881827ea71f6a066fec06e7af6a8f86c;p=config%2Fbruni%2Fetc-mint-new1.git committing changes in /etc made by "/usr/bin/apt upgrade ubuntu-advantage-tools" 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 --- diff --git a/apt/apt.conf.d/20apt-esm-hook.conf b/apt/apt.conf.d/20apt-esm-hook.conf index be60038..7bcae44 100644 --- a/apt/apt.conf.d/20apt-esm-hook.conf +++ b/apt/apt.conf.d/20apt-esm-hook.conf @@ -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 {