diff options
Diffstat (limited to 'sysutils/ups-nut/patches/patch-ab')
-rw-r--r-- | sysutils/ups-nut/patches/patch-ab | 31 |
1 files changed, 10 insertions, 21 deletions
diff --git a/sysutils/ups-nut/patches/patch-ab b/sysutils/ups-nut/patches/patch-ab index dbf2f57da9d..27705e04102 100644 --- a/sysutils/ups-nut/patches/patch-ab +++ b/sysutils/ups-nut/patches/patch-ab @@ -1,24 +1,13 @@ -$NetBSD: patch-ab,v 1.2 2001/03/11 13:46:12 martin Exp $ +$NetBSD: patch-ab,v 1.3 2001/09/28 04:37:27 lukem Exp $ ---- conf/Makefile.in.orig Sat Mar 10 15:53:30 2001 -+++ conf/Makefile.in Sat Mar 10 15:54:03 2001 -@@ -12,17 +12,9 @@ +--- conf/Makefile.in.orig Fri Jun 1 19:23:15 2001 ++++ conf/Makefile.in Fri Sep 28 13:58:30 2001 +@@ -4,7 +4,7 @@ + CONFPATH = $(INSTALLROOT)@sysconfdir@ + INSTALLCMD = @INSTALL@ - install: - @for f in $(SECFILES) ; do \ -- if (test -f $(CONFPATH)/$$f ); then \ -- echo "Preserving existing config file: $$f"; \ -- else \ -- $(INSTALLCMD) -m 0600 $$f $(CONFPATH); \ -- fi; \ -+ $(INSTALLCMD) -m 0600 $$f $(CONFPATH)/$$f.sample; \ - done +-SECFILES = upsmon.conf upsd.conf upsd.users ++SECFILES = upsmon.conf ups.conf upsd.conf upsd.users + PUBFILES = hosts.conf multimon.conf upsset.conf upssched.conf - @for f in $(PUBFILES) ; do \ -- if (test -f $(CONFPATH)/$$f ); then \ -- echo "Preserving existing config file: $$f"; \ -- else \ -- $(INSTALLCMD) -m 0644 $$f $(CONFPATH); \ -- fi; \ -+ $(INSTALLCMD) -m 0644 $$f $(CONFPATH)/$$f.sample; \ - done + all: |