@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user