diff --git a/PKGBUILD b/PKGBUILD index 03d35ae6e84271a6f8eb6c3f0b3976f6bf9895e8..35abbd9ddf6e610a19bd1e5ae82596324451662f 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 b0935bc46df1be7ce4e1c7bae8d6581087cf9898..e183335c14dbb27ffd7fb93622653a16c4ab2d85 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