summaryrefslogtreecommitdiff
path: root/security/opensc/files/patch-etc_Makefile.in
blob: 1842f266ea85fd4546cc88cb5f881bbd84dac05b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- etc/Makefile.in.orig	2008-08-26 15:53:25.000000000 +0200
+++ etc/Makefile.in	2008-08-26 15:53:42.000000000 +0200
@@ -423,11 +423,7 @@
 		-e 's|@DEFAULT_PCSC_PROVIDER[@]|$(DEFAULT_PCSC_PROVIDER)|g' \
 		< $< > $@
 install-exec-hook:	install-sysconfDATA opensc.conf
-	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.
 .NOEXPORT: