Changeset 6308


Ignore:
Timestamp:
Nov 15, 2017, 2:31:32 PM (2 years ago)
Author:
daduve
Message:

fixing bug in xenial notify zero-installer

Location:
zero-center/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zero-center/trunk/fuentes/debian/changelog

    r5427 r6308  
     1zero-center (1:2.10-lliurex4) xenial; urgency=high
     2
     3  * Fixxing bugs in xenial notify zero-installer
     4
     5 -- Daniel Duran Vecino <daduve@gmail.com>  Wed, 15 Nov 2017 14:30:23 +0100
     6
    17zero-center (1:2.10-lliurex3) xenial; urgency=medium
    28
  • zero-center/trunk/fuentes/install-files/usr/bin/zero-installer

    r5399 r6308  
    9090                                echo "________________________________________________________________________________" >> /tmp/zero-installer.log
    9191                                echo " " >> /tmp/zero-installer.log
    92                                 su -c "notify-send -t 5000 -u normal -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' '$NAME_PACK $MSG_FINISH_INSTALLED /tmp/zero-installer.log'" $USER
     92                                su -c "notify-send -t 8000 -u normal -i zero-center 'Zero-Installer' '$NAME_PACK $MSG_FINISH_INSTALLED /tmp/zero-installer.log'" $USER
    9393                                exit 0
    9494                        else
     
    9898                                echo "________________________________________________________________________________" >> /tmp/zero-installer.log
    9999                                echo " " >> /tmp/zero-installer.log
    100                                 su -c "notify-send -t 5000 -u normal -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' '$NAME_PACK $MSG_FINISH_UNINSTALLED /tmp/zero-installer.log'" $USER
     100                                su -c 'notify-send -t 8000 -u normal -i zero-center "Zero-Installer" "$NAME_PACK $MSG_FINISH_UNINSTALLED /tmp/zero-installer.log" ' $USER
    101101                                exit 1
    102102                        fi
     
    142142                                echo "________________________________________________________________________________" >> /tmp/zero-installer.log
    143143                                echo " " >> /tmp/zero-installer.log
    144                                 su -c "notify-send -t 5000 -u normal -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' '$2 $MSG_FINISH_SYSTEM1 $FINISHED $MSG_FINISH_SYSTEM /tmp/zero-installer.log'" $USER
     144                                su -c "notify-send -t 8000 -u normal -i zero-center 'Zero-Installer' '$2 $MSG_FINISH_SYSTEM1 $FINISHED $MSG_FINISH_SYSTEM /tmp/zero-installer.log'" $USER
    145145                        else
    146146                                echo "Zero-center-------Your package $2 has NOT been $FINISHED in your system"
     
    149149                                echo "________________________________________________________________________________" >> /tmp/zero-installer.log
    150150                                echo " " >> /tmp/zero-installer.log
    151                                 su -c "notify-send -t 5000 -u normal -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' '$2 $MSG_FINISH_ERROR $FINISHED $MSG_FINISH_SYSTEM /tmp/zero-installer.log'" $USER
     151                                su -c "notify-send -t 8000 -u normal -i zero-center 'Zero-Installer' '$2 $MSG_FINISH_ERROR $FINISHED $MSG_FINISH_SYSTEM /tmp/zero-installer.log'" $USER
    152152                                exit 1
    153153                        fi
     
    224224                if [ "$?" != "0" ]; then
    225225                        msg=$"Impossible to install $2, it dont exists in your repositories, abort zero-installer command"
    226                         su -c "notify-send -t 5000 -u normal -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' \"${msg}\"" $USER
     226                        su -c "notify-send -t 10000 -u normal -i zero-center 'Zero-Installer' \"${msg}\"" $USER
    227227                        echo "Your package $2 don't exists in your repositories, abort zero-installer command"
    228228                        echo "Your package $2 don't exists in your repositories, abort zero-installer command" >> /tmp/zero-installer.log
    229                         #su -c "notify-send -t 5000 -u normal -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' 'Your package $2 DO NOT EXISTS in your repositories, abort zero-installer command, and you can view the log in /tmp/zero-installer.log. If you cannot resolve the problem please contact with Lliurex Team at http://mestreacasa.gva.es/web/lliurex/forums'" $USER
     229                        su -c "notify-send -t 10000 -u normal -i zero-center 'Zero-Installer' 'Your package $2 DO NOT EXISTS in your repositories, abort zero-installer command, and you can view the log in /tmp/zero-installer.log. If you cannot resolve the problem please contact with Lliurex Team at http://mestreacasa.gva.es/web/lliurex/forums'" $USER
    230230                        exit 1
    231231                fi
Note: See TracChangeset for help on using the changeset viewer.