Changeset 5351


Ignore:
Timestamp:
Jun 27, 2017, 9:08:33 AM (18 months ago)
Author:
Juanma
Message:

Fixed the installation of fonts with white spaces

Location:
lliurex-fonts-installer/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-fonts-installer/trunk/fuentes/debian/changelog

    r4382 r5351  
     1lliurex-fonts-installer (1.4.3) xenial; urgency=medium
     2
     3  * Fixed the installation of fonts with white spaces
     4
     5 -- Juanma Navarro Mañez <juanma1980@gmail.com>  Tue, 27 Jun 2017 09:07:21 +0200
     6
    17lliurex-fonts-installer (1.4.2) xenial; urgency=medium
    28
  • lliurex-fonts-installer/trunk/fuentes/install/usr/bin/lliurex-fonts-installer

    r288 r5351  
    7777        exit
    7878      fi
    79    
    8079   fi
    8180   
     
    139138   
    140139      else if [ $XFRONTEND = "YES" ] ; then
    141                 PATH_TO_TTF2="$(echo "$PATH_TO_TTF" |sed -e "s% %\\\ %g")"
    142                
     140                #cp command doesn't work with backslashes
     141#               PATH_TO_TTF2="$(echo "$PATH_TO_TTF" |sed -e "s% %\\\ %g")"
    143142               
    144143                #PASSWD_SUDO=$(zenity --hide-text --entry --tittle="Administrator Validation" --text="$MSG_SUDO")
     
    165164
    166165                #gksu "cp -f $PATH_TO_TTF2 $INSTALL_PATH"
    167                 echo $PASSWD | sudo -S cp -f $PATH_TO_TTF2 $INSTALL_PATH
     166#As commented before, cp doesn't work with backslashes so $PATH_TO_TTF2 is useless
     167#               echo $PASSWD | sudo -S cp -f $PATH_TO_TTF2 $INSTALL_PATH
     168                echo $PASSWD | sudo -S cp -f "$PATH_TO_TTF" "$INSTALL_PATH"
    168169                if [ "$?" != 0 ];then
    169170                        zenity --error --text="$MSG_RETURN_ERROR"
Note: See TracChangeset for help on using the changeset viewer.