From fe28462bfb308a20fd2180f4557a38c0c7313add Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 19 Aug 2020 21:27:23 +0200 Subject: update-me: checkservices should be run after check-kernel --- update-me.in | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/update-me.in b/update-me.in index cbd6fd9..f33625f 100644 --- a/update-me.in +++ b/update-me.in @@ -66,6 +66,10 @@ if command -v check-kernel >/dev/null; then postCmds+=('check-kernel -r') fi +if command -v /usr/share/archlinux/contrib/admin/checkservices >/dev/null; then + postCmds+=(/usr/share/archlinux/contrib/admin/checkservices) +fi + command_needs_root() { local cmd cmd="$1" @@ -160,7 +164,7 @@ if [ ${#cmds[@]} -eq 0 ] then if [ -d '#ETCDIR#/pacman.d' ] then - cmds=('pacman -Syu' 'pacdiff' '/usr/share/archlinux/contrib/admin/checkservices') + cmds=('pacman -Syu' 'pacdiff') elif [ -d '#ETCDIR#/ports' ] then cmds=('ports -u' 'prt-get --install-scripts sysup' 'rejmerge' 'revdep') -- cgit v1.2.3-70-g09d2