From 21b187d1881827ea71f6a066fec06e7af6a8f86c Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 30 Jan 2023 00:31:23 +0100 Subject: [PATCH] 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 --- apt/apt.conf.d/20apt-esm-hook.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5