]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
avoid bogus commands caused by not escaped macro
authorTomasz Pala <gotar@pld-linux.org>
Fri, 23 Mar 2018 18:06:06 +0000 (19:06 +0100)
committerTomasz Pala <gotar@pld-linux.org>
Fri, 23 Mar 2018 18:06:06 +0000 (19:06 +0100)
Run "/bin/systemctl restart if called after" to restart if called after.

service_generator.sh

index 7fa360b9120937a9bdc21764855b6bcc5a4f5bc8..210a32c91cbd0ab47dd857b4cf32f0416a05d320 100755 (executable)
@@ -65,7 +65,7 @@ if [ "$check" = 1 ]; then
                        if [ -f /var/lock/subsys/$service ]; then
                                echo 'Run "/sbin/service $service restart" to restart $desc.'
                        fi
-               else    NORESTART=1     # for %systemd_post if called after
+               else    NORESTART=1     # for %%systemd_post if called after
                fi
        EOF
        echo 'fi'
This page took 0.0354 seconds and 4 git commands to generate.