Corrected sym link location for systemd files

They were missing a "/"
stable
Justin Reichardt 2022-06-13 00:11:02 -05:00
parent a641b9cd96
commit 4995813b6e
1 changed files with 3 additions and 3 deletions

View File

@ -33,13 +33,13 @@ install: build
install -D $(PROJROOT)build/bin/rhosts $(BINDIR)/ install -D $(PROJROOT)build/bin/rhosts $(BINDIR)/
cp -r $(PROJROOT)build/share/rhosts $(DATADIR) cp -r $(PROJROOT)build/share/rhosts $(DATADIR)
if [ ! -h /usr/lib/systemd/system/rhosts.service ]; then \ if [ ! -h /usr/lib/systemd/system/rhosts.service ]; then \
ln -s $(DATADIR)rhosts/systemd/rhosts.service /usr/lib/systemd/system/rhosts.service \ ln -s $(DATADIR)/rhosts/systemd/rhosts.service /usr/lib/systemd/system/rhosts.service \
;fi ;fi
if [ ! -h /usr/lib/systemd/system/rhosts.path ]; then \ if [ ! -h /usr/lib/systemd/system/rhosts.path ]; then \
ln -s $(DATADIR)rhosts/systemd/rhosts.path /usr/lib/systemd/system/rhosts.path \ ln -s $(DATADIR)/rhosts/systemd/rhosts.path /usr/lib/systemd/system/rhosts.path \
;fi ;fi
if [ ! -h /usr/lib/systemd/system/rhosts.timer ]; then \ if [ ! -h /usr/lib/systemd/system/rhosts.timer ]; then \
ln -s $(DATADIR)rhosts/systemd/rhosts.timer /usr/lib/systemd/system/rhosts.timer \ ln -s $(DATADIR)/rhosts/systemd/rhosts.timer /usr/lib/systemd/system/rhosts.timer \
;fi ;fi
.PHONY: uninstall .PHONY: uninstall
uninstall: uninstall: