Module: check_mk
Branch: master
Commit: 592201edbb08f0b84cd379f174fcec00b3e7785a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=592201edbb08f0…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Mar 28 21:00:27 2017 +0200
.f12 file: Respect ONLY_COPY setting
Change-Id: Idb7541cbfb1ac0f2242c08a380b82b6f5b139311
---
.werks/.f12 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/.werks/.f12 b/.werks/.f12
index bb0ab06..3238191 100644
--- a/.werks/.f12
+++ b/.werks/.f12
@@ -8,4 +8,7 @@ make -C .. enterprise/werks
sudo install -m 644 -g $SITE -o $SITE ../enterprise/werks
/omd/sites/$SITE/share/check_mk/werks/werks-cmc
make -C .. managed/werks
sudo install -m 644 -g $SITE -o $SITE ../managed/werks
/omd/sites/$SITE/share/check_mk/werks/werks-cme
-sudo omd restart $SITE apache
+
+if [ -z $ONLY_COPY ]; then
+ sudo omd restart $SITE apache
+fi