File: 01-examples.patch

package info (click to toggle)
gadmin-samba 0.2.9-3
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 5,480 kB
  • ctags: 691
  • sloc: ansic: 11,164; sh: 3,219; makefile: 169
file content (37 lines) | stat: -rw-r--r-- 1,663 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Author: Daniel Baumann <daniel@debian.org>
Description: Removes example installation, we do it through debian/examples.

diff -Naurp gadmin-samba.orig/Makefile.am gadmin-samba/Makefile.am
--- gadmin-samba.orig/Makefile.am	2009-08-19 20:23:26.000000000 +0000
+++ gadmin-samba/Makefile.am	2009-08-20 07:45:41.000000000 +0000
@@ -51,13 +51,6 @@ install-data-local:
 	if test -d $(DESTDIR)$(bindir) && test ! -f $(DESTDIR)$(bindir)/gadmin-samba-pdf; then \
 	   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; \
-	fi;
-	if test -d /home/netlogon && test ! -f /home/netlogon/example.bat; then \
-	   cp scripts/example.bat /home/netlogon/; \
-	fi;
 	@echo ""
 	@echo "Start GADMIN-SAMBA by typing gadmin-samba in a terminal"
 	@echo "or start it from the menu."
diff -Naurp gadmin-samba.orig/Makefile.in gadmin-samba/Makefile.in
--- gadmin-samba.orig/Makefile.in	2009-08-19 20:23:26.000000000 +0000
+++ gadmin-samba/Makefile.in	2009-08-20 07:45:41.000000000 +0000
@@ -676,13 +676,6 @@ install-data-local:
 	if test -d $(DESTDIR)$(bindir) && test ! -f $(DESTDIR)$(bindir)/gadmin-samba-pdf; then \
 	   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; \
-	fi;
-	if test -d /home/netlogon && test ! -f /home/netlogon/example.bat; then \
-	   cp scripts/example.bat /home/netlogon/; \
-	fi;
 	@echo ""
 	@echo "Start GADMIN-SAMBA by typing gadmin-samba in a terminal"
 	@echo "or start it from the menu."