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:
commit
5ab4c0b3d4
@ -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>
|
||||
|
||||
|
@ -220,8 +220,8 @@ if [ -x /usr/bin/systemctl ]; then
|
||||
fi
|
||||
|
||||
%preun
|
||||
if [ %{name}.service -eq 0 -a -x /usr/bin/systemctl ]; then
|
||||
/usr/bin/systemctl --global disable fcitx5.service || :
|
||||
if [ $1 -eq 0 -a -x /usr/bin/systemctl ]; then
|
||||
/usr/bin/systemctl --global disable %{name}.service || :
|
||||
fi
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user