aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/deepforest/scripts/post-install
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/deepforest/scripts/post-install')
-rw-r--r--archivers/deepforest/scripts/post-install15
1 files changed, 15 insertions, 0 deletions
diff --git a/archivers/deepforest/scripts/post-install b/archivers/deepforest/scripts/post-install
new file mode 100644
index 000000000000..aa14facb24c5
--- /dev/null
+++ b/archivers/deepforest/scripts/post-install
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+case ${LANGUAGE} in
+ Japanese)
+ for f in DeepForest.app; do
+ ${PERL} -pi -e '
+ s/^(exec[ \t]+)wishstep[^ \t]*([ \t]+.*)$/$1wishstep$ENV{VERSION}jp$2/
+ ' ${PREFIX}/JDE/DeepForest/${f}
+ done
+ ;;
+ *)
+ ;;
+esac
+
+${LN} -sf ${PREFIX}/JDE/DeepForest/DeepForest.app ${PREFIX}/bin