|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../hplip/initfile.patch
|
|
|
|
# Copyright (C) 2005 - 2006 The T2 SDE 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 ---
|
|
|
|
|
|
|
|
--- hplip/Makefile.am.orig 2005-11-18 22:28:51.000000000 +0100
|
|
|
|
+++ hplip/Makefile.am 2005-12-11 14:08:30.000000000 +0100
|
|
|
|
@@ -237,7 +237,7 @@
|
|
|
|
$(INSTALL_DATA) $(DESTDIR)$(hplipdir)/$(PACKAGE).conf $(DESTDIR)/etc/hp; \
|
|
|
|
if [ -d $(DESTDIR)/etc/init.d ]; then \
|
|
|
|
$(INSTALL_SCRIPT) $(DESTDIR)$(hplipdir)/$(PACKAGE) $(DESTDIR)/etc/init.d; \
|
|
|
|
- if [ "$(DESTDIR)" = "" ]; then \
|
|
|
|
+ if [ 0 -eq 1 -a "$(DESTDIR)" = "" ]; then \
|
|
|
|
if [ "$(INSTALLINITD)" != "" ]; then \
|
|
|
|
$(INSTALLINITD) $(PACKAGE); \
|
|
|
|
else \
|
|
|
|
--- hplip/Makefile.in.orig 2005-12-11 14:14:56.000000000 +0100
|
|
|
|
+++ hplip/Makefile.in 2005-12-11 14:27:42.000000000 +0100
|
|
|
|
@@ -1969,7 +1969,7 @@
|
|
|
|
$(INSTALL_DATA) $(DESTDIR)$(hplipdir)/$(PACKAGE).conf $(DESTDIR)/etc/hp; \
|
|
|
|
if [ -d $(DESTDIR)/etc/init.d ]; then \
|
|
|
|
$(INSTALL_SCRIPT) $(DESTDIR)$(hplipdir)/$(PACKAGE) $(DESTDIR)/etc/init.d; \
|
|
|
|
- if [ "$(DESTDIR)" = "" ]; then \
|
|
|
|
+ if [ 0 -eq 1 -a "$(DESTDIR)" = "" ]; then \
|
|
|
|
if [ "$(INSTALLINITD)" != "" ]; then \
|
|
|
|
$(INSTALLINITD) $(PACKAGE); \
|
|
|
|
else \
|