From 57a2ba36b2ea8f49c3a420ee911392580e46d729 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 06 2011 20:50:43 +0000 Subject: Update `prepare_doLinks.sh': - Previous to this commit, only the `denmark.ttf' file was considered to be linked inside applications like GIMP and Inkscape. - In this commit, all .ttf files inside `trunk/Identity/Fonts' are considered to be linked inside applications like GIMP and Inkscape. Note: When I say `to be linked inside applications', I mean inside the configuration directory related to those applications inside your home directory. --- diff --git a/Scripts/Functions/Prepare/prepare_doLinks.sh b/Scripts/Functions/Prepare/prepare_doLinks.sh index 66d10cc..cfe1ab1 100755 --- a/Scripts/Functions/Prepare/prepare_doLinks.sh +++ b/Scripts/Functions/Prepare/prepare_doLinks.sh @@ -52,7 +52,7 @@ function prepare_doLinks { USERFILES="${HOME}/bin/$CLI_PROGRAM" # Define link relation for fonts. - for FONT in $(cli_getFilesList ${HOME}/artwork/trunk/Identity/Fonts --pattern='denmark\.ttf');do + for FONT in $(cli_getFilesList ${HOME}/artwork/trunk/Identity/Fonts --pattern='.+\.ttf');do LINKS_SRC[((++${#LINKS_SRC[*]}))]=${HOME}/.fonts/$(basename $FONT) LINKS_DST[((++${#LINKS_DST[*]}))]=$FONT done