PPC images do not follow the 32/64 bit naming convention
wget the windows dlls on windows ntrelease
parent
8be253c47f
commit
3ea8227d6c
|
@ -5,7 +5,7 @@ set +e
|
||||||
|
|
||||||
# Case insensitive string comparison
|
# Case insensitive string comparison
|
||||||
shopt -s nocaseglob
|
shopt -s nocaseglob
|
||||||
shopt -s nocasematch
|
#shopt -s nocasematch
|
||||||
|
|
||||||
ensure_program_installed() {
|
ensure_program_installed() {
|
||||||
echo -n "Checking for $1..."
|
echo -n "Checking for $1..."
|
||||||
|
@ -47,7 +47,9 @@ case $uname_s in
|
||||||
*CYGWIN_NT*) OS=windows-nt;;
|
*CYGWIN_NT*) OS=windows-nt;;
|
||||||
*CYGWIN*) OS=windows-nt;;
|
*CYGWIN*) OS=windows-nt;;
|
||||||
*darwin*) OS=macosx;;
|
*darwin*) OS=macosx;;
|
||||||
|
*Darwin*) OS=macosx;;
|
||||||
*linux*) OS=linux;;
|
*linux*) OS=linux;;
|
||||||
|
*Linux*) OS=linux;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Architecture
|
# Architecture
|
||||||
|
@ -107,4 +109,12 @@ rm $BOOT_IMAGE.* > /dev/null 2>&1
|
||||||
wget http://factorcode.org/images/latest/$BOOT_IMAGE
|
wget http://factorcode.org/images/latest/$BOOT_IMAGE
|
||||||
check_ret wget
|
check_ret wget
|
||||||
|
|
||||||
|
if [[ $OS == windows-nt ]] ; then
|
||||||
|
wget http://factorcode.org/dlls/freetype6.dll
|
||||||
|
check_ret
|
||||||
|
wget http://factorcode.org/dlls/zlib1.dla
|
||||||
|
check_ret
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
./$FACTOR_BINARY -i=$BOOT_IMAGE
|
./$FACTOR_BINARY -i=$BOOT_IMAGE
|
||||||
|
|
Loading…
Reference in New Issue