Don't overwrite existing user configs

This commit is contained in:
Akbar Rahman 2021-08-04 22:12:38 +01:00
parent 6cacc65013
commit 0953baae50

View File

@ -8,7 +8,7 @@ install:
go build -o gohookr
cp gohookr /usr/local/bin/
cp gohookr.service /usr/lib/systemd/system/
cp config.json /etc/gohookr.json
cp -n config.json /etc/gohookr.json
systemctl daemon-reload
systemctl enable --now gohookr