blob: 815dcaa62df0b8697566554c4b2d5f1e42a8d425 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
OPERA_DIR="%%PREFIX%%/share/opera"
OPERA_PLUGIN_PATH="%%PREFIX%%/share/opera/plugins"
for plugin_dir in \
%%PREFIX%%/lib/netscape-linux/plugins \
%%PREFIX%%/linux-jdk1.3.1/jre/plugin/i386/ns4 \
%%PREFIX%%/Acrobat4/Browsers/intellinux \
;
do
if [ -d "${plugin_dir}" ] ; then
OPERA_PLUGIN_PATH="${OPERA_PLUGIN_PATH}:${plugin_dir}"
fi
done
export OPERA_DIR OPERA_PLUGIN_PATH
exec %%DATADIR%%/bin/opera-static "$@"
|