From 0119c848520e8db9659944f4d584da236dc6f67f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= Date: Wed, 18 Mar 2020 22:08:41 +0100 Subject: [PATCH] checkservice: parse systemd-245 list-units output --- PKGBUILD | 2 +- checkservices | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 03d35ae..35abbd9 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,7 +9,7 @@ arch=('any') url='https://git.seblu.net/archlinux/archutils' license=('GPL2') makedepends=('git') -depends=('python' 'bash' 'zsh' 'file' 'grep' 'pyalpm' 'python-pyelftools' +depends=('python' 'bash' 'zsh' 'file' 'grep' 'gawk' 'pyalpm' 'python-pyelftools' 'python-pygments' 'pacman-contrib') provides=('archutils' 'kernel-reinstall') replaces=('kernel-reinstall') diff --git a/checkservices b/checkservices index b0935bc..e183335 100755 --- a/checkservices +++ b/checkservices @@ -90,7 +90,7 @@ confirm() { # get running systemd services get_services() { - systemctl --no-legend --full --type service --state running|cut -f1 -d' ' + systemctl list-units --no-legend --plain --full --type service --state running|awk '{print $1}' } # get systemd services with updated mapped files -- GitLab