updated on Sun Jan 15 16:02:00 UTC 2012
[aur-mirror.git] / imwheel / etcdir-install.patch
blob2a2b9517841ef41082f61f524e0bcba0e7b061dc
1 --- imwheel-1.0.0pre12/Makefile.in 2004-08-29 06:36:33.000000000 -0400
2 +++ imwheel-1.0.0pre12-fixed/Makefile.in 2005-01-04 14:46:37.000000000 -0500
3 @@ -781,10 +781,10 @@
4 @SUID_TRUE@ progname=$(DESTDIR)$(bindir)/`echo imwheel|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'` ; \
5 @SUID_TRUE@ chown @suid@ $$progname ; \
6 @SUID_TRUE@ chmod u+s $$progname
7 - $(mkinstalldirs) $(ETCDIR)
8 - -[ -f /etc/imwheelrc ] && mv /etc/imwheelrc $(ETCDIR)/imwheelrc || true
9 - -[ -f /etc/X11/imwheelrc ] && mv /etc/X11/imwheelrc $(ETCDIR)/imwheelrc || true
10 - -[ -f $(ETCDIR)/imwheelrc ] && install -m 644 imwheelrc $(ETCDIR)/imwheelrc.new || install -m 644 imwheelrc $(ETCDIR)/imwheelrc
11 + $(mkinstalldirs) $(DESTDIR)$(ETCDIR)
12 + -[ -f /etc/imwheelrc ] && mv /etc/imwheelrc $(DESTDIR)$(ETCDIR)/imwheelrc || true
13 + -[ -f /etc/X11/imwheelrc ] && mv /etc/X11/imwheelrc $(DESTDIR)$(ETCDIR)/imwheelrc || true
14 + -[ -f $(ETCDIR)/imwheelrc ] && install -m 644 imwheelrc $(DESTDIR)$(ETCDIR)/imwheelrc.new || install -m 644 imwheelrc $(DESTDIR)$(ETCDIR)/imwheelrc
16 extras: $(EXTRA_PROGRAMS)