#!/bin/sh installdir=${PREFIX}/JDE/SeizeDesktop; export installdir 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