]> git.stg.codes - stg.git/commitdiff
Missing -f added to ln
authorMaxim Mamontov <faust.madf@gmail.com>
Tue, 1 Nov 2011 08:53:02 +0000 (10:53 +0200)
committerMaxim Mamontov <faust.madf@gmail.com>
Tue, 1 Nov 2011 08:53:02 +0000 (10:53 +0200)
projects/stargazer/Makefile

index 86783e1b12f2855b73b4fe27952f8f795b42821f..74ed4cbb5e7cb89e25dadde35d2664ca0c4f2b4b 100644 (file)
@@ -95,9 +95,9 @@ install-data:
        ln -sf ../conf-available.d/mod_sg.conf $(PREFIX)/etc/stargazer/conf-enabled.d/mod_sg.conf
 
 ifeq ($(OS),linux)
-       ln -s ../conf-available.d/mod_cap_ether.conf $(PREFIX)/etc/stargazer/conf-enabled.d/mod_cap_ether.conf
+       ln -sf ../conf-available.d/mod_cap_ether.conf $(PREFIX)/etc/stargazer/conf-enabled.d/mod_cap_ether.conf
 else
-       ln -s ../conf-available.d/mod_cap_bpf.conf $(PREFIX)/etc/stargazer/conf-enabled.d/mod_cap_bpf.conf
+       ln -sf ../conf-available.d/mod_cap_bpf.conf $(PREFIX)/etc/stargazer/conf-enabled.d/mod_cap_bpf.conf
 endif
 
        install -m $(DATA_MODE) -o $(OWNER) $(ETC_DIR)/rules $(PREFIX)/etc/stargazer/rules