Accepting request 955406 from M17N

- fix preun scirpt

OBS-URL: https://build.opensuse.org/request/show/955406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fcitx5?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2022-02-16 23:30:57 +00:00 committed by Git OBS Bridge
commit 5ab4c0b3d4
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 16 13:56:19 UTC 2022 - Marguerite Su <i@marguerite.su>
- fix preun scirpt
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Feb 12 02:13:30 UTC 2022 - Marguerite Su <i@marguerite.su> Sat Feb 12 02:13:30 UTC 2022 - Marguerite Su <i@marguerite.su>

View File

@ -220,8 +220,8 @@ if [ -x /usr/bin/systemctl ]; then
fi fi
%preun %preun
if [ %{name}.service -eq 0 -a -x /usr/bin/systemctl ]; then if [ $1 -eq 0 -a -x /usr/bin/systemctl ]; then
/usr/bin/systemctl --global disable fcitx5.service || : /usr/bin/systemctl --global disable %{name}.service || :
fi fi
%endif %endif