]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
rpm: remove confusing --user before --global
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 19 May 2018 11:01:55 +0000 (13:01 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 19 May 2018 11:04:57 +0000 (13:04 +0200)
Fixes #9027.

src/core/macros.systemd.in

index 89fc68ceb3d47334290127ff95e3f604f869e6b6..660775f17a82bdd77a0c4975380bb4bbdc4018e7 100644 (file)
@@ -42,7 +42,7 @@ if [ $1 -eq 1 ] ; then \
 fi \
 %{nil}
 
-%systemd_user_post() %{expand:%systemd_post \\--user \\--global %%{?*}}
+%systemd_user_post() %{expand:%systemd_post \\--global %%{?*}}
 
 %systemd_preun() \
 if [ $1 -eq 0 ] ; then \
@@ -54,7 +54,7 @@ fi \
 %systemd_user_preun() \
 if [ $1 -eq 0 ] ; then \
         # Package removal, not upgrade \
-        systemctl --no-reload --user --global disable %{?*} > /dev/null 2>&1 || : \
+        systemctl --global disable %{?*} > /dev/null 2>&1 || : \
 fi \
 %{nil}