Skip to content

Commit

Permalink
Merge pull request #6 from nhedger/freebsd-fix
Browse files Browse the repository at this point in the history
Fix installation for FreeBSD
  • Loading branch information
nhedger authored Mar 3, 2022
2 parents 5fbddc8 + af06d1e commit 06d8e6c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ PREFIX?=/usr/local

install:
cp iddns.sh $(PREFIX)/bin/iddns
cp --backup --suffix=.orig config.example $(HOME)/.iddns
if [ -f $(HOME)/.iddns ]; then \
cp $(HOME)/.iddns $(HOME)/.iddns.orig; \
fi;
cp config.example $(HOME)/.iddns
chmod +x $(PREFIX)/bin/iddns

uninstall:
Expand Down

0 comments on commit 06d8e6c

Please sign in to comment.