summaryrefslogtreecommitdiff
path: root/sysutils/apcupsd/patches/patch-ao
blob: e8a91256323a583c3ba7e281ba02d91f10ca9d39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ao,v 1.5 2007/06/19 22:22:55 bouyer Exp $

--- platforms/Makefile.in.orig	2007-06-19 23:54:40.000000000 +0200
+++ platforms/Makefile.in	2007-06-19 23:56:17.000000000 +0200
@@ -26,19 +26,6 @@
 		 DESTDIR=$(DESTDIR) install);
 
 install: @INSTALL_DISTDIR@
-	@echo "Installing apccontrol script..."
-	@if test -f $(DESTDIR)$(sysconfdir)/apccontrol; then \
-	   mv -f $(DESTDIR)$(sysconfdir)/apccontrol $(DESTDIR)$(sysconfdir)/apccontrol.orig; \
-	   echo " Found old apccontrol moving it to $(DESTDIR)$(sysconfdir)/apccontrol.orig"; \
-	fi 
-	@if test -f ./$(DISTNAME)/apccontrol; then \
-	     $(INSTALL_SCRIPT) -m 744 ./$(DISTNAME)/apccontrol \
-		$(DESTDIR)$(sysconfdir)/apccontrol; \
-	else \
-	     $(INSTALL_SCRIPT) -m 744 ./apccontrol \
-		$(DESTDIR)$(sysconfdir)/apccontrol; \
-	fi
-	(cd etc/; $(MAKE) DESTDIR=$(DESTDIR) install)
 
 #
 # uninstall symlinks before removing the boot script etc etc