[sr-dev] git:sr_3.0: deb: fix mysql scripts install path problem

Andrei Pelinescu-Onciul andrei at iptel.org
Wed Nov 11 20:05:51 CET 2009


Module: sip-router
Branch: sr_3.0
Commit: cc88ded53d3ba8e8140390f33f3759a127ad9dbd
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cc88ded53d3ba8e8140390f33f3759a127ad9dbd

Author: Klaus Darilion <klaus.mailinglists at pernau.at>
Committer: Andrei Pelinescu-Onciul <andrei at iptel.org>
Date:   Wed Nov 11 19:52:55 2009 +0100

deb: fix mysql scripts install path problem

Signed-off-by: Andrei Pelinescu-Onciul <andrei at iptel.org>

---

 pkg/debian/rules |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkg/debian/rules b/pkg/debian/rules
index 289ec3e..3d708f3 100755
--- a/pkg/debian/rules
+++ b/pkg/debian/rules
@@ -179,10 +179,10 @@ install: build
 	mkdir -p $(CURDIR)/debian/ser/etc/default
 	cp -f debian/ser.default $(CURDIR)/debian/ser/etc/default/ser
 	# install the *.sql files for ser_mysql.sh script
-	cp -f scripts/mysql/*.sql $(CURDIR)/debian/ser/usr/lib/ser/
+	cp -f scripts/mysql/*.sql $(CURDIR)/debian/ser-mysql-module/usr/lib/ser/
 	# and fix path to the *.sql files in ser_mysql.sh script
 	sed -i 's#DEFAULT_SCRIPT_DIR=.*#DEFAULT_SCRIPT_DIR="/usr/lib/ser/"#' \
-		$(CURDIR)/debian/ser/usr/sbin/ser_mysql.sh
+		$(CURDIR)/debian/ser-mysql-module/usr/sbin/ser_mysql.sh
 	# install advanced ser config file for ser-oob package
 	mkdir -p $(CURDIR)/debian/ser-oob/etc/ser
 	cp -f etc/sip-router-oob.cfg $(CURDIR)/debian/ser-oob/etc/ser/ser-oob.cfg




More information about the sr-dev mailing list