31 lines
809 B
Bash
31 lines
809 B
Bash
#!/bin/sh
|
|
|
|
installdir=${PREFIX}/JDE/SeizeDesktop; export installdir
|
|
|
|
case ${LANGUAGE} in
|
|
Japanese)
|
|
for f in SeizeDesktop.app PrefDesktop.app; do
|
|
${REINPLACE_CMD} -i "" -E -e \
|
|
"s/^(exec[[:space:]]+)wishstep[[:space:]]*([[:space:]]+.*)\$/\1wishstep${VERSION}jp\2/" \
|
|
${installdir}/bin/${f}
|
|
done
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|
|
for f in SeizeDesktop SeizeDesktop.app PrefDesktop.app; do
|
|
case ${f} in
|
|
SeizeDesktop.app|PrefDesktop.app)
|
|
target=${installdir}/bin/${f}
|
|
;;
|
|
SeizeDesktop)
|
|
target=${installdir}/default/${f}
|
|
;;
|
|
esac
|
|
${REINPLACE_CMD} -i "" -E -e \
|
|
"s@^([[:space:]]*set[[:space:]]+dtLib[[:space:]]+)\"[^\"]*\"\$@\1\"${installdir}\"@" \
|
|
${target}
|
|
done
|
|
|
|
${LN} -sf ${installdir}/bin/SeizeDesktop.app ${PREFIX}/bin
|
|
${LN} -sf ${installdir}/bin/PrefDesktop.app ${PREFIX}/bin
|