[packages/rpm-build-macros] fixed %systemd_post

gotar gotar at pld-linux.org
Tue Sep 6 11:56:12 CEST 2016


commit aa13c88c1160df49c87ad3d9586c0bc0b4b3bc5d
Author: Tomasz Pala <gotar at pld-linux.org>
Date:   Tue Sep 6 11:54:45 2016 +0200

    fixed %systemd_post
    
    broken with wrong chunk at 3303369cd82fe4c2d6297d60fec3272066a322c5

 rpm.macros | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rpm.macros b/rpm.macros
index c4d0c81..f05db7a 100644
--- a/rpm.macros
+++ b/rpm.macros
@@ -2252,7 +2252,7 @@ want_enable_service() { \
 	export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
 	/bin/systemd_booted && /bin/systemctl daemon-reload || : \
 	if [ $1 -eq 1 ]; then \
-		/bin/systemctl preset --preset-mode=enable-only %{*} || >/dev/null : \
+		/bin/systemctl preset --preset-mode=enable-only %{*} >/dev/null || : \
 		/bin/systemd_booted && echo 'Run "/bin/systemctl start %{*}" to start %{*}.' || : \
 	elif [ -z "$NORESTART" ]; then \
 		/bin/systemd_booted && /bin/systemctl try-restart %{*} || : \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/aa13c88c1160df49c87ad3d9586c0bc0b4b3bc5d



More information about the pld-cvs-commit mailing list