Commit 1aed92b5 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #443 in ZP/z-push from...

Merge pull request #443 in ZP/z-push from bugfix/ZP-1137-z-push-gabsync-symlink-is-not-set to develop

* commit '99662eac':
  ZP-1137 Added symlink to z-push-gabsync & z-push-gab2contacts so they are executable system wide.
parents 2097efe0 99662eac
......@@ -309,6 +309,8 @@ mkdir -p "$b/%zpush_dir/tools"
cp -a tools/gab-sync "$b/%zpush_dir/tools/"
mv "$b/%zpush_dir/tools/gab-sync/config.php" "$cdir/gabsync.conf.php";
ln -s "%_sysconfdir/z-push/gabsync.conf.php" "$b/%zpush_dir/tools/gab-sync/config.php";
mkdir -p "$b/%_bindir"
ln -s "%zpush_dir/tools/gab-sync/gab-sync.php" "$b/%_bindir/z-push-gabsync";
# GAB2CONTACTS
mkdir -p "$b/%zpush_dir/tools"
......@@ -316,6 +318,8 @@ cp -a tools/gab2contacts "$b/%zpush_dir/tools/"
mv "$b/%zpush_dir/tools/gab2contacts/config.php" "$cdir/gab2contacts.conf.php";
ln -s "%_sysconfdir/z-push/gab2contacts.conf.php" "$b/%zpush_dir/tools/gab2contacts/config.php";
sed -i -s "s/PATH_TO_ZPUSH', '\.\.\/\.\.\/src\/')/PATH_TO_ZPUSH', '\/usr\/share\/z-push\/')/" "$b/%zpush_dir/tools/gab2contacts/gab2contacts.php"
mkdir -p "$b/%_bindir"
ln -s "%zpush_dir/tools/gab2contacts/gab2contacts.php" "$b/%_bindir/z-push-gab2contacts";
# MEMCACHED
mv "$bdir/ipcmemcached/config.php" "$cdir/memcached.conf.php";
......
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