comparison packaging/linux-installer.inc.in @ 763:654a8ca9d5b4

Set config dir used by trustbridge-tray-starter at runtime.
author Sascha Wilde <wilde@intevation.de>
date Fri, 04 Jul 2014 18:06:23 +0200
parents 7c1f34115ede
children 5b505acbb2d1
comparison
equal deleted inserted replaced
753:7c1f34115ede 763:654a8ca9d5b4
339 # ---------------------------------------------------------------------- 339 # ----------------------------------------------------------------------
340 340
341 echo "Preparing trustbridge-tray-starter ..." 341 echo "Preparing trustbridge-tray-starter ..."
342 sed -i "/^PREFIX=/c\PREFIX='${instcfg[PREFIX]}'" \ 342 sed -i "/^PREFIX=/c\PREFIX='${instcfg[PREFIX]}'" \
343 "${instcfg[PREFIX]}/bin/trustbridge-tray-starter.sh" 343 "${instcfg[PREFIX]}/bin/trustbridge-tray-starter.sh"
344 sed -i "/^CFGDIR=/c\CFGDIR='${instcfg_path}'" \
345 "${instcfg[PREFIX]}/bin/trustbridge-tray-starter.sh"
346 344
347 echo "Setting up cronjob ..." 345 echo "Setting up cronjob ..."
348 setup_cronjob 346 setup_cronjob
349 347
350 echo "Writing installation configuration to: $instcfg_file ..." 348 echo "Writing installation configuration to: $instcfg_file ..."

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