Mercurial > trustbridge
comparison packaging/linux-installer.inc @ 1289:34c92dbfee7e
(issue44) Do not ask the user to confirm start on update
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 29 Sep 2014 13:34:19 +0200 |
parents | 5e0c338552b4 |
children | 77c9e35657ab |
comparison
equal
deleted
inserted
replaced
1288:265583011f24 | 1289:34c92dbfee7e |
---|---|
133 getxt "To remove the application and the root certificates it has inserted,\n" | 133 getxt "To remove the application and the root certificates it has inserted,\n" |
134 getxt "call the uninstall command:\n" | 134 getxt "call the uninstall command:\n" |
135 echo " $UN_RUNCMD ${instcfg[PREFIX]}/bin/trustbridge-uninstall.sh" | 135 echo " $UN_RUNCMD ${instcfg[PREFIX]}/bin/trustbridge-uninstall.sh" |
136 | 136 |
137 echo "################################################################################" | 137 echo "################################################################################" |
138 if ! [ $(id -u) -eq 0 ]; then | 138 if [ $UPDATE -eq 0 ]; then |
139 getxt "Press enter to launch '%s'\n" "${instcfg[PREFIX]}/bin/trustbridge" | 139 if ! [ $(id -u) -eq 0 ]; then |
140 getxt "or press Control-C to quit the installer.\n" | 140 getxt "Press enter to launch '%s'\n" "${instcfg[PREFIX]}/bin/trustbridge" |
141 read | 141 getxt "or press Control-C to quit the installer.\n" |
142 "${instcfg[PREFIX]}/bin/trustbridge" & | 142 read |
143 else | 143 "${instcfg[PREFIX]}/bin/trustbridge" & |
144 getxt "You can now launch '%s'\n" "${instcfg[PREFIX]}/bin/trustbridge" | 144 else |
145 getxt "You can now launch '%s'\n" "${instcfg[PREFIX]}/bin/trustbridge" | |
146 fi | |
145 fi | 147 fi |
146 } | 148 } |
147 | 149 |
148 cleanup() | 150 cleanup() |
149 { | 151 { |