[packages/wesnoth] - fixing uninstall warnings

mrozowik mrozowik at pld-linux.org
Thu Jan 7 22:02:51 CET 2021


commit f721f6e1c7680b4fb8ebacf56979e792e03996d5
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
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



More information about the pld-cvs-commit mailing list