File: libwrapper

package info (click to toggle)
netscape4 4.0-12
  • links: PTS
  • area: contrib
  • in suites: hamm
  • size: 132 kB
  • ctags: 88
  • sloc: ansic: 917; perl: 146; sh: 94; makefile: 91
file content (12 lines) | stat: -rw-r--r-- 316 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh

if [ $UID -eq 0 -o $EUID -eq 0 ]; then
    echo "$0: Cannot be run an root (for security reasons)"
    exit 1
fi

export MALLOC_CHECK_=0
export NPX_PLUGIN_PATH=$HOME/.netscape/plugins:/usr/local/lib/netscape/plugins:/usr/lib/netscape/plugins

export display=$DISPLAY
exec /usr/lib/netscape/netscape "$@"