From 3c4d5186be280adeb3ec831923ec3e5b8ed40a20 Mon Sep 17 00:00:00 2001
From: Robin Sheat <robin@catalyst.net.nz>
Date: Mon, 10 Nov 2014 11:38:29 +1300
Subject: [PATCH] Bug 7904 - remove unnecessary path from SIP script

With the fixing of the namespace in the SIP code, we don't need to
modify the PERL5LIB to have the old one.

To test:
* do a package install using this and the other patches on bug 7904
* enable SIP
* make sure koha-start-sip and koha-stop-sip work
---
 debian/scripts/koha-start-sip | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/scripts/koha-start-sip b/debian/scripts/koha-start-sip
index 791c6d3..98a0ed6 100755
--- a/debian/scripts/koha-start-sip
+++ b/debian/scripts/koha-start-sip
@@ -31,7 +31,7 @@ do
     chown "${name}-koha:${name}-koha" /var/run/koha/${name}
     export KOHA_CONF PERL5LIB
     KOHA_CONF=/etc/koha/sites/${name}/koha-conf.xml
-    PERL5LIB="/usr/share/koha/lib:/usr/share/koha/lib/C4/SIP"
+    PERL5LIB="/usr/share/koha/lib"
     daemon \
         --name="$name-koha-sip" \
         --errlog="/var/log/koha/$name/sip-error.log" \
-- 
1.9.1