aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/install b/install
index 652c14d..50d1e80 100755
--- a/install
+++ b/install
@@ -1,7 +1,7 @@
#!/bin/sh
install spawnctl /usr/local/bin/
-install spawnctl.conf /etc/spawnctl.conf
+[ ! -e "/etc/spawnctl.conf" ] && install spawnctl.conf /etc/spawnctl.conf
install spawnctl-port-forward.service /etc/systemd/system/
chmod +x /usr/local/bin/spawnctl