diff --git a/scripts/installer.sh b/scripts/installer.sh index d61d0d0..1edc4d8 100755 --- a/scripts/installer.sh +++ b/scripts/installer.sh @@ -201,7 +201,9 @@ function configWrite() { # IIgs Runtime & ORCA Compilers P=\${JOEY}/sdks/IIgs:${P} echo "export GOLDEN_GATE=\"\${JOEY}/sdks/IIgs/ORCA\"" >> "${O}" - echo "mountORCA.sh" >> "${O}" + echo "if [[ -e \"\${JOEY}/sdks/IIgs/mountORCA.sh\" ]]; then" >> "${O}" + echo -e "\t\"\${JOEY}/sdks/IIgs/mountORCA.sh\"" >> "${O}" + echo "fi" >> "${O}" fi if [[ ${G_IS_INSTALLED[$G_ATARIST]} == 1 ]]; then # All VBCC targets get these