summaryrefslogtreecommitdiffstats
path: root/system/sudosh2/sudosh2-destdir.patch
diff options
context:
space:
mode:
author David Spencer2016-05-29 13:24:20 +0200
committer Willy Sudiarto Raharjo2016-06-01 18:54:53 +0200
commit222fe7eb23626673694d1bb5a8c0cfa1d7e30d8a (patch)
treec0c31d061d6332fa18a51964e8d95c504b09f2a4 /system/sudosh2/sudosh2-destdir.patch
parent38c5cf743d12b311fa318731b562c6677ae847ba (diff)
downloadslackbuilds-222fe7eb23626673694d1bb5a8c0cfa1d7e30d8a.tar.gz
system/sudosh2: Fixed install path.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'system/sudosh2/sudosh2-destdir.patch')
-rw-r--r--system/sudosh2/sudosh2-destdir.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/sudosh2/sudosh2-destdir.patch b/system/sudosh2/sudosh2-destdir.patch
new file mode 100644
index 0000000000..eb1ba17d92
--- /dev/null
+++ b/system/sudosh2/sudosh2-destdir.patch
@@ -0,0 +1,13 @@
+diff -u -r sudosh2-1.0.4-orig/src/Makefile.am sudosh2-1.0.4/src/Makefile.am
+--- sudosh2-1.0.4-orig/src/Makefile.am 2010-07-09 21:37:01.000000000 +0100
++++ sudosh2-1.0.4/src/Makefile.am 2016-05-29 11:51:19.902051323 +0100
+@@ -7,7 +7,7 @@
+ sysconfdir = @sysconfdir@
+
+ install-sudosh.conf:
+- test -z "$(sysconfdir)" || $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
+- test -f $(sysconfdir)/sudosh.conf || $(INSTALL) -o 0 -g 0 -m 0444 '$(srcdir)/sudosh.conf' '$(sysconfdir)/sudosh.conf'
++ $(mkdir_p) "$(DESTDIR)$(sysconfdir)"
++ $(INSTALL) -o 0 -g 0 -m 0444 '$(srcdir)/sudosh.conf' '$(DESTDIR)$(sysconfdir)/sudosh.conf'
+
+ install: install-am install-sudosh.conf