summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2012-03-10 22:50:44 +0100
committermakefu <github@syntax-fehler.de>2012-03-10 22:50:44 +0100
commit4aa0bab545f5f28200ea16ee581d6eff39e94d6d (patch)
tree761cde4ee4a9dcdad12c47e897b173f00cc03ff3
parent86cb16cc0287d46dd5d97d9da88f9647fb016406 (diff)
fix Makefile in case tincd does not yet exist
-rw-r--r--retiolum/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/retiolum/Makefile b/retiolum/Makefile
index cd0a543c..ee1526d4 100644
--- a/retiolum/Makefile
+++ b/retiolum/Makefile
@@ -17,13 +17,13 @@ install: upgrade
upgrade: update
if ! diff -u scripts/tinc_setup/tinc-up /etc/tinc/retiolum/tinc-up; then \
sudo cp scripts/tinc_setup/tinc-up /etc/tinc/retiolum/tinc-up; \
- sudo bin/restart-tincd; \
+ sudo bin/restart-tincd || :; \
fi
update: hosts
- bin/update_tinc_hosts "create magic" || true
+ bin/update_tinc_hosts "create magic" || :;
bin/update_tinc_hosts restart
sudo pkill -HUP tincd || :;
hosts:
- bin/update-retiolum-hosts || true
+ bin/update-retiolum-hosts || :;