summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/opera6/files/opera.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/opera6/files/opera.sh b/www/opera6/files/opera.sh
index a2dc3afd3da..e804d1b5f7f 100644
--- a/www/opera6/files/opera.sh
+++ b/www/opera6/files/opera.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-LINUX_KERN_OSREL=`sysctl -n emul.linux.kern.osrelease 2>/dev/null`
+LINUX_KERN_OSREL=`/sbin/sysctl -n emul.linux.kern.osrelease 2>/dev/null`
if [ -z "$LINUX_KERN_OSREL" -o "$LINUX_KERN_OSREL" = "2.0.38" ]
then
OPERADIR=$HOME/.opera
@@ -21,4 +21,5 @@ then
done
fi
+unset LD_LIBRARY_PATH
exec @EMULDIR@/bin/bash /usr/bin/opera "$@"