comparison packaging/linux-installer.inc @ 1161:b67681a61e3e

Fixed installation with relative destination path.
author Sascha Wilde <wilde@intevation.de>
date Thu, 18 Sep 2014 18:30:54 +0200
parents 46f025a1450c
children d51ae656cfd6
comparison
equal deleted inserted replaced
1160:a974b61a5cce 1161:b67681a61e3e
314 314
315 getxt "checking for uudecode ...\n" 315 getxt "checking for uudecode ...\n"
316 provide_uudecode_maybe 316 provide_uudecode_maybe
317 317
318 getxt "unpacking files ...\n" 318 getxt "unpacking files ...\n"
319 OLDWD="$PWD"
319 cd "${instcfg[PREFIX]}" 320 cd "${instcfg[PREFIX]}"
320 321
321 set +u 322 set +u
322 set -- '-c' 323 set -- '-c'
323 # ---------------------------------------------------------------------- 324 # ----------------------------------------------------------------------
324 # regular shar archive inserted here: 325 # regular shar archive inserted here:
325 ###SHAR### 326 ###SHAR###
326 # ---------------------------------------------------------------------- 327 # ----------------------------------------------------------------------
327 328
329 cd "$OLDWD"
330
328 getxt "Preparing trustbridge-tray-starter ...\n" 331 getxt "Preparing trustbridge-tray-starter ...\n"
329 sed -i "/^PREFIX=/c\PREFIX='${instcfg[PREFIX]}'" \ 332 sed -i "/^PREFIX=/c\PREFIX='${instcfg[PREFIX]}'" \
330 "${instcfg[PREFIX]}/bin/trustbridge-tray-starter.sh" 333 "${instcfg[PREFIX]}/bin/trustbridge-tray-starter.sh"
331 334
332 getxt "Setting up cronjob ...\n" 335 getxt "Setting up cronjob ...\n"

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