[packages/rpm-build-macros] avoid bogus commands caused by not escaped macro
gotar
gotar at pld-linux.org
Fri Mar 23 19:07:25 CET 2018
commit eb651b4b94fd771d2d28080fd173ebfca2295efa
Author: Tomasz Pala <gotar at pld-linux.org>
Date: Fri Mar 23 19:06:06 2018 +0100
avoid bogus commands caused by not escaped macro
Run "/bin/systemctl restart if called after" to restart if called after.
service_generator.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/service_generator.sh b/service_generator.sh
index 7fa360b..210a32c 100755
--- a/service_generator.sh
+++ b/service_generator.sh
@@ -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'
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-macros.git/commitdiff/eb651b4b94fd771d2d28080fd173ebfca2295efa
More information about the pld-cvs-commit
mailing list