summaryrefslogtreecommitdiff
path: root/security/opensc/files/patch-etc_Makefile.in
blob: a619e23226924737a2b56ce635aedd33ab756013 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- etc/Makefile.in.orig	2012-12-04 15:43:57.000000000 +0100
+++ etc/Makefile.in	2012-12-05 10:07:46.000000000 +0100
@@ -429,11 +429,7 @@
 
 install-exec-hook: opensc.conf
 	$(MKDIR_P) "$(DESTDIR)$(sysconfdir)"
-	if [ -f "$(DESTDIR)$(sysconfdir)/opensc.conf" ]; then \
-		$(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf.new"; \
-	else \
-		$(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf"; \
-	fi
+	$(INSTALL_DATA) opensc.conf "$(DESTDIR)$(sysconfdir)/opensc.conf-sample"
 
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.