Ignore:
Timestamp:
Jun 5, 2018, 11:41:43 AM (3 years ago)
Author:
jrpelegrina
Message:

Deleted files for the zenity version of the zomando

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-openmeetings/trunk/fuentes/zero-center-zlaunchers/lliurex-openmeetings.zmd

    r5194 r7339  
    11#!/bin/bash
    22
    3 export TEXTDOMAIN="lliurex-openmeetings-installer"
    4 PACKAGE_LIST="/usr/share/lliurex-zero-installers/lliurex-openmeetings-packages"
    5 PACKAGE_NAME="Lliurex-openmeetings"
    6 MSG_ADVERTISEMENT=$(gettext "Do you want to install and configure Lliurex-openmeetings?")
    7 MSG_OPENMEETINGS_INSTALL_PROBLEM=$(gettext "Lliurex-openmeetings has NOT been installed in your system. Please check the logs.")
    8 MSG_OPENMEETINGS_INSTALLED=$(gettext "lliurex-openmeetings has been installed in your system. Now will launch the setup.")
    9 HELP_PROGRESS_BAR="/tmp/help_lliurex-openmeetings.txt"
    10 zero-center add-pulsating-color lliurex-openmeetings
     3#!/bin/bash
    114
    12 need_install ()
    13 {
    14         #Testeamos si todo está instalado, sino procedemos a instalar
    15         LISTA=( $( cat $PACKAGE_LIST | awk '{print $1}' ) )
    16         for i in "${LISTA[@]}"
    17         do
    18                 TEST=$( dpkg-query -s $i 2> /dev/null| grep Status | cut -d " " -f 4 )
    19                 if [ "$TEST" != 'installed' ]
    20                 then
    21                         return 1
    22                 fi
    23         done
    24 }
    25 need_install
    26 if [ $? -eq 1 ]
    27 then
    28         #Install the packages
    29         if zenity --question --title="$MSG_INSTALLING_PROGRESS" --width=500 --height=100 --text="$MSG_ADVERTISEMENT"
    30         then
    31                 touch $HELP_PROGRESS_BAR
    32         else
    33                 zero-center remove-pulsating-color lliurex-openmeetings
    34                 exit 1
    35         fi
     5epi-gtk /usr/share/lliurex-openmeetings/EPI-files/openmeetings.epi
    366
    37         zero-reinstall-list "$PACKAGE_LIST" "$PACKAGE_NAME"
    38         if [ $? -ne 0 ]
    39         then
    40                 echo "$MSG_OPENMEETINGS_INSTALL_PROBLEM"
    41                 zenity --info --text="$MSG_OPENMEETINGS_INSTALL_PROBLEM" &
    42                 rm $HELP_PROGRESS_BAR
    43                 zero-center set-non-configured lliurex-openmeetings
    44                 zero-center remove-pulsating-color lliurex-openmeetings
    45                 exit 1
    46         fi
    47                 zenity --info --title="Zenity-installer" --text="$MSG_OPENMEETINGS_INSTALLED"
    48 #       zero-center remove-pulsating-color install-pyromaths
    49 #       zero-center set-configured install-pyromaths
    50 fi
    51 
    52 lliurex-openmeetings-setup
    53 
    54 zero-center remove-pulsating-color lliurex-openmeetings
    55 zero-center set-configured lliurex-openmeetings
    567
    578exit 0
    58 
Note: See TracChangeset for help on using the changeset viewer.