small change

no longer overwrites an existing config
This commit is contained in:
AustrianToast 2023-11-30 23:55:22 +01:00
parent 0032f6f4c2
commit 2950e11654
No known key found for this signature in database
GPG Key ID: 5CD422268E489EB4

View File

@ -1,7 +1,7 @@
install:
@echo "==> Installing update into /usr/local/bin"
@sudo install -Dm755 update /usr/local/bin/update
@cp update.conf ${HOME}/.config/
@[[ -f ${HOME}/.config/update.conf ]] || cp update.conf ${HOME}/.config/
@echo "==> Finished."
uninstall: