summaryrefslogtreecommitdiff
path: root/community/gadmin-samba/makefile.patch
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/gadmin-samba/makefile.patch
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/gadmin-samba/makefile.patch')
-rw-r--r--community/gadmin-samba/makefile.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/community/gadmin-samba/makefile.patch b/community/gadmin-samba/makefile.patch
new file mode 100644
index 000000000..54998fbb1
--- /dev/null
+++ b/community/gadmin-samba/makefile.patch
@@ -0,0 +1,18 @@
+--- Makefile.in 2008-05-25 17:44:34.000000000 +0200
++++ Makefile.in.new 2008-08-10 15:12:37.000000000 +0200
+@@ -677,11 +677,11 @@
+ cp scripts/gadmin-samba-pdf $(bindir)/; \
+ fi;
+ @echo Installing example logon script to static /home/netlogon.
+- if test ! -d /home/netlogon; then \
+- mkdir -p /home/netlogon; \
++ if test ! -d $(DESTDIR)/usr/share/gadmin-samba; then \
++ mkdir -p $(DESTDIR)/usr/share/gadmin-samba; \
+ fi;
+- if test -d /home/netlogon && test ! -f /home/netlogon/example.bat; then \
+- cp scripts/example.bat /home/netlogon/; \
++ if test -d $(DESTDIR)/usr/share/gadmin-samba && test ! -f $(DESTDIR)/usr/share/gadmin-samba/example.bat; then \
++ cp scripts/example.bat $(DESTDIR)/usr/share/gadmin-samba/; \
+ fi;
+ @echo ""
+ @echo "Start GADMIN-SAMBA by typing gadmin-samba in a terminal"