diff options
-rw-r--r-- | update-me.in | 6 |
1 files changed, 5 insertions, 1 deletions
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') |