Fix error creating source directory for freetype.
This commit is contained in:
parent
b441c04cb6
commit
8ae069334c
@ -842,7 +842,7 @@ if ([[ "$PHP_MAJOR_VERSION" -eq 7 ]] && [[ "$PHP_MINOR_VERSION" -lt 4 ]]) \
|
||||
echo ""
|
||||
echo -e "\033[32m--\033[m"
|
||||
echo ""
|
||||
echo -e "We need to install a version of freety, which supports"
|
||||
echo -e "We need to install a version of freetype, which supports"
|
||||
echo -e "service 'freetype-config'. The development library libfreetype6"
|
||||
echo -e "of this distribution doesn't."
|
||||
echo -e ""
|
||||
@ -1145,7 +1145,7 @@ if $_install_freetype && [[ ! -d /usr/local/freetype-$FREETYPE_VERSION ]]; then
|
||||
|
||||
echononl "\tCreate source directory '$_src_dir_freetype'.."
|
||||
if [[ ! -d "$_src_dir_freetype" ]]; then
|
||||
mkdir "$freetype_archive" >> ${_logdir}/main.log 2>&1
|
||||
mkdir "$_src_dir_freetype" >> ${_logdir}/main.log 2>&1
|
||||
if [[ $? -eq 0 ]]; then
|
||||
echo_ok
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user