Mercurial > trustbridge
comparison packaging/linux-installer.inc.in @ 1123:425a9a861d17
(issue54) Remove showafterupdate option from linux installer
The Application itself now handles if it should be shown
after an update.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 17 Sep 2014 12:11:31 +0200 |
parents | d619507d9e9f |
children | f1384bf9d4a4 |
comparison
equal
deleted
inserted
replaced
1122:4a17c9f977d0 | 1123:425a9a861d17 |
---|---|
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 { |