Commit d9212500 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1084 Set z-push path in gab2contacts script.

Released under the Affero GNU General Public License (AGPL) version 3.
parent abc57c22
...@@ -22,8 +22,12 @@ override_dh_gencontrol: ...@@ -22,8 +22,12 @@ override_dh_gencontrol:
override_dh_install: override_dh_install:
mv src/* . mv src/* .
# set version number
sed -s "s/ZPUSHVERSION/${DEB_VERSION}/" build/version.php.in > version.php sed -s "s/ZPUSHVERSION/${DEB_VERSION}/" build/version.php.in > version.php
# fix z-push directory in gab2contacts script
sed -s "s/PATH_TO_ZPUSH', '\.\.\/\.\.\/src\/')/PATH_TO_ZPUSH', '\/usr\/share\/z-push\/')/" tools/gab2contacts/gab2contacts.php > tools/gab2contacts/gab2contacts.php
mv "config.php" "z-push.conf.php"; mv "config.php" "z-push.conf.php";
mkdir conftmp mkdir conftmp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment