Mercurial > trustbridge
comparison 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 |
comparison
equal
deleted
inserted
replaced
737:a26aada5900f | 738:ea8d13590cbd |
---|---|
305 # ---------------------------------------------------------------------- | 305 # ---------------------------------------------------------------------- |
306 # regular shar archive inserted here: | 306 # regular shar archive inserted here: |
307 ###SHAR### | 307 ###SHAR### |
308 # ---------------------------------------------------------------------- | 308 # ---------------------------------------------------------------------- |
309 | 309 |
310 echo "Preparing trustbridge-tray-starter ..." | |
311 sed -i "/^PREFIX=/c\PREFIX='${instcfg[PREFIX]}'" \ | |
312 "${instcfg[PREFIX]}/bin/trustbridge-tray-starter.sh" | |
313 sed -i "/^CFGDIR=/c\CFGDIR='${instcfg_path}'" \ | |
314 "${instcfg[PREFIX]}/bin/trustbridge-tray-starter.sh" | |
315 | |
310 echo "Writing installation configuration to: $instcfg_file ..." | 316 echo "Writing installation configuration to: $instcfg_file ..." |
311 write_instcfg | 317 write_instcfg |
312 exit 0 | 318 exit 0 |