commit f721f6e1c7680b4fb8ebacf56979e792e03996d5
Author: Krzysztof Mrozowicz <[email protected]>
Date:   Thu Jan 7 21:02:35 2021 +0000

    - fixing uninstall warnings

 wesnoth.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/wesnoth.spec b/wesnoth.spec
index e334dfc..b2dcc26 100644
--- a/wesnoth.spec
+++ b/wesnoth.spec
@@ -202,12 +202,12 @@ rm -rf $RPM_BUILD_ROOT
 %preun server
 if [ "$1" = "0" ]; then
        %service wesnothd stop
+       /sbin/chkconfig --del wesnothd
 fi
 %systemd_preun wesnothd.service
 
 %postun server
 if [ "$1" = "0" ]; then
-       /sbin/chkconfig --del wesnothd
        %userremove wesnothd
        %groupremove wesnothd
 fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/wesnoth.git/commitdiff/f721f6e1c7680b4fb8ebacf56979e792e03996d5

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to