comparison packaging/linux-installer.inc.in @ 1134:f1384bf9d4a4

Mergerd
author Sascha Wilde <wilde@intevation.de>
date Wed, 17 Sep 2014 15:01:19 +0200
parents 54a6fa9e44cf 425a9a861d17
children e82c440c2727 1110d0017bad
comparison
equal deleted inserted replaced
1133:54a6fa9e44cf 1134:f1384bf9d4a4
44 INSTCFGNAME="TrustBridge-inst.cfg" 44 INSTCFGNAME="TrustBridge-inst.cfg"
45 FORCE=0 45 FORCE=0
46 SYSINST=0 46 SYSINST=0
47 DEINSTALL=0 47 DEINSTALL=0
48 UPDATE=0 48 UPDATE=0
49 SHOWAFTERUPDATE=0
50 BINNAMES="###BINNAMES###" 49 BINNAMES="###BINNAMES###"
51 ICONNAME="###ICONNAME###" 50 ICONNAME="###ICONNAME###"
52 HELPNAMES="###HELPNAMES###" 51 HELPNAMES="###HELPNAMES###"
53 HELPNAMES_SOURCES="###HELPNAMES_SOURCES###" 52 HELPNAMES_SOURCES="###HELPNAMES_SOURCES###"
54 HELPNAMES_STATIC="###HELPNAMES_STATIC###" 53 HELPNAMES_STATIC="###HELPNAMES_STATIC###"
182 ;; 181 ;;
183 --update) 182 --update)
184 UPDATE=1 183 UPDATE=1
185 shift 1 184 shift 1
186 ;; 185 ;;
187 --show-after-update)
188 SHOWAFTERUPDATE=1
189 shift 1
190 ;;
191 --help) 186 --help)
192 usage 0 187 usage 0
193 ;; 188 ;;
194 --version) 189 --version)
195 version 190 version
258 getxt "Press enter to launch '%s'\n" "${instcfg[PREFIX]}/bin/trustbridge" 253 getxt "Press enter to launch '%s'\n" "${instcfg[PREFIX]}/bin/trustbridge"
259 if [ $UPDATE -eq 0 ]; then 254 if [ $UPDATE -eq 0 ]; then
260 read 255 read
261 $RUNCMD "${instcfg[PREFIX]}/bin/trustbridge" & 256 $RUNCMD "${instcfg[PREFIX]}/bin/trustbridge" &
262 else 257 else
263 if [ $SHOWAFTERUPDATE -eq 0 ]; then 258 $RUNCMD "${instcfg[PREFIX]}/bin/trustbridge" --tray &
264 $RUNCMD "${instcfg[PREFIX]}/bin/trustbridge" --tray &
265 else
266 $RUNCMD "${instcfg[PREFIX]}/bin/trustbridge" &
267 fi
268 fi 259 fi
269 } 260 }
270 261
271 cleanup() 262 cleanup()
272 { 263 {

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