mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
c6a8506189
Environment Var. `JA_NETSCAPE_INSTALL_CFG' to force install `netscape.cfg' file. Update manpage `ja-netscape.1'.
10 lines
253 B
Plaintext
10 lines
253 B
Plaintext
#!/bin/sh
|
|
[ "x$1" = "x" ] && exit 1
|
|
if [ "x$2" = "xPOST-INSTALL" -a -n "$JA_NETSCAPE_INSTALL_CFG" ]; then
|
|
CFGLOC=/usr/lib/X11/@LANG@/app-defaults
|
|
if [ ! -e $CFGLOC/netscape.cfg ]; then
|
|
mkdir -p $CFGLOC
|
|
cp @NDIR@/@LANG@/netscape.cfg $CFGLOC
|
|
fi
|
|
fi
|