summaryrefslogtreecommitdiff
path: root/update-me.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-08-19 21:27:23 +0200
committerErich Eckner <git@eckner.net>2020-08-19 21:27:23 +0200
commitfe28462bfb308a20fd2180f4557a38c0c7313add (patch)
treedccc2ceb43be1e6a9dc5dc8bb1c84fe5e71b1452 /update-me.in
parent5fec9f90d6ede751f2c6099eba2a4b9b345b6f17 (diff)
downloadupdate-all-fe28462bfb308a20fd2180f4557a38c0c7313add.tar.xz
update-me: checkservices should be run after check-kernel
Diffstat (limited to 'update-me.in')
-rw-r--r--update-me.in6
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')