Ignore:
Timestamp:
Jun 30, 2016, 10:36:23 AM (5 years ago)
Author:
Juanma
Message:

Added installation checks

File:
1 edited

Legend:

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

    r585 r2076  
    2020        if [ "$TEST" = 'installed' ]; then
    2121                echo "Package $PACKAGE_NAME already installed, we have to uninstall it"
    22                 su -c "notify-send -t 2000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' '$PACKAGE_NAME is already installed in your system, now we are goig to remove it and install it again.'" $USER
     22                su -c "notify-send -t 5000 -u normal -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' '$PACKAGE_NAME is already installed in your system, now we are goig to remove it and install it again.'" $USER
    2323                touch $TMP_LOG
    2424                (apt-get remove -y $PACKAGE_NAME > $TMP_LOG ; rm $TMP_LOG) &
     
    158158                        if [ $rc -eq 0 ]
    159159                                then
    160                                         #su -c "notify-send -t 2000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' ' $MSG_BAJAR ' " $USER
     160                                        #su -c "notify-send -t 5000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' ' $MSG_BAJAR ' " $USER
    161161                                        #Vamos a comprobar si estamos en el aula y si somos el server, para segun que caso poner el proxy para la descarga o no.
    162162                                        rc=0
     
    253253        if [ $rc -eq 0 ]
    254254                then
    255                         #su -c "notify-send -t 2000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' ' $MSG_BAJAR ' " $USER
     255                        #su -c "notify-send -t 5000 -u critical -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' ' $MSG_BAJAR ' " $USER
    256256                        #Vamos a comprobar si estamos en el aula y si somos el server, para segun que caso poner el proxy para la descarga o no.
    257257                        rc=0
Note: See TracChangeset for help on using the changeset viewer.