aboutsummaryrefslogtreecommitdiff
path: root/network/freerapid/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'network/freerapid/doinst.sh')
-rw-r--r--network/freerapid/doinst.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/network/freerapid/doinst.sh b/network/freerapid/doinst.sh
index 9424ce43ff572..9081430537b9a 100644
--- a/network/freerapid/doinst.sh
+++ b/network/freerapid/doinst.sh
@@ -1,3 +1,9 @@
+set -e
+
+# create links for compatibility with new JDK versions...
+ln -sf /usr/lib/java/bin/java /usr/bin/java
+ln -sf /usr/lib/java/bin/javaws /usr/bin/javaws
+
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi