Ignore:
Timestamp:
Jun 29, 2017, 11:46:50 AM (3 years ago)
Author:
Juanma
Message:

Improved translations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zero-center/trunk/fuentes/install-files/usr/bin/zero-installer

    r5095 r5381  
    189189        function check_package {
    190190               
    191                 if [ $1 = "install" ] ; then
     191                if [ $1 = "install" ] ; then
    192192                        ACTION="$MSG_INSTALLING"
    193193                        FINISHED="$MSG_INSTALLED"
    194194                        check_removed $1 $2
     195                        apt-get update
    195196                else
    196197                        ACTION="$MSG_REMOVING"
     
    212213                LANG=en apt-cache show $2 | grep -i Version
    213214                if [ "$?" != "0" ]; then
    214                         su -c "notify-send -t 5000 -u normal -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' 'Impossible to install $2, it dont exists in your repositories, abort zero-installer command'" $USER
     215                        msg=$"Impossible to install $2, it dont exists in your repositories, abort zero-installer command"
     216                        su -c "notify-send -t 5000 -u normal -i /usr/share/icons/lliurex-neu/scalable/apps/zero-center.svg 'Zero-Installer' \"${msg}\"" $USER
    215217                        echo "Your package $2 don't exists in your repositories, abort zero-installer command"
    216218                        echo "Your package $2 don't exists in your repositories, abort zero-installer command" >> /tmp/zero-installer.log
Note: See TracChangeset for help on using the changeset viewer.