[PATCH 2 of 5] (issue54) Remove showafterupdate option from linux installer

Wald Commits scm-commit at wald.intevation.org
Wed Sep 17 12:14:15 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1410948691 -7200
# Node ID 425a9a861d17b44b8240329ef31a4e8c08223c0f
# Parent  4a17c9f977d07676096d53fd7043d697f259180c
(issue54) Remove showafterupdate option from linux installer

    The Application itself now handles if it should be shown
    after an update.

diff -r 4a17c9f977d0 -r 425a9a861d17 packaging/linux-installer.inc.in
--- a/packaging/linux-installer.inc.in	Wed Sep 17 12:10:50 2014 +0200
+++ b/packaging/linux-installer.inc.in	Wed Sep 17 12:11:31 2014 +0200
@@ -46,7 +46,6 @@
 SYSINST=0
 DEINSTALL=0
 UPDATE=0
-SHOWAFTERUPDATE=0
 BINNAMES="###BINNAMES###"
 ICONNAME="###ICONNAME###"
 HELPNAMES="###HELPNAMES###"
@@ -184,10 +183,6 @@
         UPDATE=1
         shift 1
         ;;
-      --show-after-update)
-        SHOWAFTERUPDATE=1
-        shift 1
-        ;;
       --help)
         usage 0
         ;;
@@ -260,11 +255,7 @@
     read
     $RUNCMD "${instcfg[PREFIX]}/bin/trustbridge" &
   else
-    if [ $SHOWAFTERUPDATE -eq 0 ]; then
-      $RUNCMD "${instcfg[PREFIX]}/bin/trustbridge" --tray &
-    else
-      $RUNCMD "${instcfg[PREFIX]}/bin/trustbridge" &
-    fi
+    $RUNCMD "${instcfg[PREFIX]}/bin/trustbridge" --tray &
   fi
 }
 


More information about the Trustbridge-commits mailing list