diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-07 10:05:31 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-04-07 10:05:31 +0200 |
| commit | 24d40fa1fc2442efa52bde8fd23e37bfddebb9a8 (patch) | |
| tree | c5fb31be2f66b78d0a675835712af5f4edaecdcb | |
| parent | ec3f6b176c5bce1a2c1b690563b70897c48c62e5 (diff) | |
only install config if it does not exist
| -rwxr-xr-x | install | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |