commit 15bb28975891c3661d6a0671b1d8febc91e72496
Author: Tomasz Pala <[email protected]>
Date:   Wed Aug 24 15:27:24 2016 +0200

    don't be quiet when enabling systemd native service in place of SysV one
    
    As RPM_ENABLE_SYSTEMD_SERVICE overrides systemd presets and this is
    happening only once per package, it's better to notice admin about that.

 rpm.macros | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rpm.macros b/rpm.macros
index 8254683..c4d0c81 100644
--- a/rpm.macros
+++ b/rpm.macros
@@ -2243,7 +2243,7 @@ want_enable_service() { \
        export SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \
        for s in %{*}; do \
                if want_enable_service $s; then \
-                       /bin/systemctl --quiet enable $s || : \
+                       /bin/systemctl enable $s || : \
                fi \
        done \
 %{nil}
================================================================

---- gitweb:

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

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

Reply via email to