summaryrefslogtreecommitdiff
path: root/sysutils/apcupsd/files/patch-platforms_etc_Makefile
blob: 508e3294602fce3fdc38a9a21a0c84f86ba17bc9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- platforms/etc/Makefile.orig	2014-04-09 22:15:34 UTC
+++ platforms/etc/Makefile
@@ -8,12 +8,12 @@ all-uninstall: uninstall-etc
 
 install-etc:
 	$(call MKDIR,$(sysconfdir))
-	$(call INSTNEW,644,apcupsd.conf,$(sysconfdir))
-	$(call INSTORIG,744,changeme,$(sysconfdir))
-	$(call INSTORIG,744,commfailure,$(sysconfdir))
-	$(call INSTORIG,744,commok,$(sysconfdir))
-	$(call INSTORIG,744,offbattery,$(sysconfdir))
-	$(call INSTORIG,744,onbattery,$(sysconfdir))
+	$(call INSTDATA,644,apcupsd.conf,$(sysconfdir)/apcupsd.conf.sample)
+	$(call INSTDATA,744,changeme,$(sysconfdir)/changeme.sample)
+	$(call INSTDATA,744,commfailure,$(sysconfdir)/commfailure.sample)
+	$(call INSTDATA,744,commok,$(sysconfdir)/commok.sample)
+	$(call INSTDATA,744,offbattery,$(sysconfdir)/offbattery.sample)
+	$(call INSTDATA,744,onbattery,$(sysconfdir)/onbattery.sample)
 
 uninstall-etc: