]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
fixed %systemd_post
authorTomasz Pala <gotar@pld-linux.org>
Tue, 6 Sep 2016 09:54:45 +0000 (11:54 +0200)
committerTomasz Pala <gotar@pld-linux.org>
Tue, 6 Sep 2016 09:54:45 +0000 (11:54 +0200)
broken with wrong chunk at 3303369cd82fe4c2d6297d60fec3272066a322c5

rpm.macros

index c4d0c81fc6dc55ee0747d65a357e1f61b04acb4f..f05db7a841d53ad5cb0f6826117b2485bfb57789 100644 (file)
@@ -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 %{*} || : \
This page took 0.069624 seconds and 4 git commands to generate.