diff options
author | Kiriyama Kazuhiko <kiri@FreeBSD.org> | 2003-05-08 10:40:48 +0000 |
---|---|---|
committer | Kiriyama Kazuhiko <kiri@FreeBSD.org> | 2003-05-08 10:40:48 +0000 |
commit | e78f22042242e220b1d4069db9569a787824f003 (patch) | |
tree | 624ef151fac983805aa268b78e8f085031ee35f8 /misc/seizedesktop/scripts/post-install | |
parent | Upgrade to 0.6. (diff) |
Set MASTER_SITES fetchable and correct reinplace commands.
Diffstat (limited to '')
-rw-r--r-- | misc/seizedesktop/scripts/post-install | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/misc/seizedesktop/scripts/post-install b/misc/seizedesktop/scripts/post-install index 21d72020d3f3..d770a5394f35 100644 --- a/misc/seizedesktop/scripts/post-install +++ b/misc/seizedesktop/scripts/post-install @@ -5,9 +5,9 @@ installdir=${PREFIX}/JDE/SeizeDesktop; export installdir case ${LANGUAGE} in Japanese) for f in SeizeDesktop.app PrefDesktop.app; do - ${PERL} -pi -e ' - s/^(exec[ \t]+)wishstep[^ \t]*([ \t]+.*)$/$1wishstep$ENV{VERSION}jp$2/ - ' ${installdir}/bin/${f} + ${REINPLACE_CMD} -i "" -E -e \ + "s/^(exec[[:space:]]+)wishstep[[:space:]]*([[:space:]]+.*)\$/\1wishstep${VERSION}jp\2/" \ + ${installdir}/bin/${f} done ;; *) @@ -22,9 +22,9 @@ for f in SeizeDesktop SeizeDesktop.app PrefDesktop.app; do target=${installdir}/default/${f} ;; esac - ${PERL} -pi -e ' - s/^([ \t]*set[ \t]+dtLib[ \t]+)"[^"]*"$/$1"$ENV{installdir}"/; - ' ${target} + ${REINPLACE_CMD} -i "" -E -e \ + "s@^([[:space:]]*set[[:space:]]+dtLib[[:space:]]+)\"[^\"]*\"\$@\1\"${installdir}\"@" \ + ${target} done ${LN} -sf ${installdir}/bin/SeizeDesktop.app ${PREFIX}/bin |