diff packaging/linux-installer.inc.in @ 738:ea8d13590cbd

Added trustbridge-tray-starter script for use with cron job. TODO: trustbridge must safe $DISPLAY in $CFGDIR/trustbridge-tray-starter.cfg
author Sascha Wilde <wilde@intevation.de>
date Fri, 04 Jul 2014 12:32:51 +0200
parents 62af7d247430
children 778382342802
line wrap: on
line diff
--- a/packaging/linux-installer.inc.in	Thu Jul 03 17:08:22 2014 +0200
+++ b/packaging/linux-installer.inc.in	Fri Jul 04 12:32:51 2014 +0200
@@ -307,6 +307,12 @@
 ###SHAR###
 # ----------------------------------------------------------------------
 
+echo "Preparing trustbridge-tray-starter ..."
+sed -i "/^PREFIX=/c\PREFIX='${instcfg[PREFIX]}'" \
+    "${instcfg[PREFIX]}/bin/trustbridge-tray-starter.sh"
+sed -i "/^CFGDIR=/c\CFGDIR='${instcfg_path}'" \
+    "${instcfg[PREFIX]}/bin/trustbridge-tray-starter.sh"
+
 echo "Writing installation configuration to: $instcfg_file ..."
 write_instcfg
 exit 0

http://wald.intevation.org/projects/trustbridge/