36 lines
1.5 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../gsambad/fix-netlogon-script.patch
# Copyright (C) 2006 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./Makefile.in.orig 2006-08-02 22:22:02.000000000 +0300
+++ ./Makefile.in 2006-10-07 16:47:38.000000000 +0300
@@ -653,12 +653,12 @@
if test -d $(DESTDIR)$(bindir) && test ! -f $(DESTDIR)$(bindir)/gsambadpdf; then \
cp scripts/gsambadpdf $(bindir)/; \
fi;
- @echo Installing example logon script to static /home/netlogon.
- if test ! -d /home/netlogon; then \
- mkdir -p /home/netlogon; \
+ @echo Installing example logon script to $(pkgdatadir).
+ if test ! -d $(pkgdatadir); then \
+ mkdir -p $(pkgdatadir); \
fi;
- if test -d /home/netlogon && test ! -f /home/netlogon/example.bat; then \
- cp scripts/example.bat /home/netlogon/; \
+ if test -d $(pkgdatadir) && test ! -f $(pkgdatadir)/example.bat; then \
+ cp scripts/example.bat $(pkgdatadir)/; \
fi;
@echo ""
@echo "Start GSAMBAD by typing gsambad in a terminal"