summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/poboxserver/poboxserver/pbserver.sh2
-rw-r--r--packages/poboxserver/poboxserver_1.2.5.bb3
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/poboxserver/poboxserver/pbserver.sh b/packages/poboxserver/poboxserver/pbserver.sh
index 8e5a1bda26..e6067ed6ff 100644
--- a/packages/poboxserver/poboxserver/pbserver.sh
+++ b/packages/poboxserver/poboxserver/pbserver.sh
@@ -21,7 +21,7 @@ start)
echo -n "Start pbserver"
# make sure lo interface is configured (otherwise qpobox will not bind to pbserver)
ifconfig lo|grep 127.0.0.1 >/dev/null || ifconfig lo 127.0.0.1
- cd /opt/QtPalmtop/pobox; ./pbserver > /dev/null &
+ cd @palmtopdir@/pobox; ./pbserver > /dev/null &
echo
sleep 1
;;
diff --git a/packages/poboxserver/poboxserver_1.2.5.bb b/packages/poboxserver/poboxserver_1.2.5.bb
index b7e2ed7179..9f9500f67c 100644
--- a/packages/poboxserver/poboxserver_1.2.5.bb
+++ b/packages/poboxserver/poboxserver_1.2.5.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "OpenPOBox is an open source implementation of a 'Predictive Opera
SECTION = "inputmethods"
LICENSE = "GPL"
DEPENDS = "perl-native ruby-native nkf-native"
-PR = "r4"
+PR = "r5"
SRC_URI = "${SOURCEFORGE_MIRROR}/gakusei/pobox-${PV}.tar.bz2 \
http://www.vanille.de/mirror/pbserver-${PV}.tar.gz \
@@ -36,4 +36,5 @@ do_install() {
install -m 0644 ${WORKDIR}/pbserver/learndic ${D}${palmtopdir}/pobox/
install -d ${D}${sysconfdir}/init.d/
install -m 0755 ${WORKDIR}/pbserver.sh ${D}${sysconfdir}/init.d/pbserver
+ sed -i -e 's,@palmtopdir@,${palmtopdir},g' ${D}${sysconfdir}/init.d/pbserver
}