milis/talimatname/genel/openjdk/openjdk.kur-kos

15 lines
443 B
Plaintext
Raw Normal View History

2016-02-24 01:27:23 +01:00
. lib/lsb/init-functions
if (grep jdk /etc/man_db.conf > /dev/null); then
cat >> etc/man_db.conf << "EOF"
# Begin Java addition
MANDATORY_MANPATH /opt/jdk/man
MANPATH_MAP /opt/jdk/bin /opt/jdk/man
MANDB_MAP /opt/jdk/man /var/cache/man/jdk
# End Java addition
EOF
log_warning_msg "${WARNING}Check the /etc/man_db.conf file ${NORMAL}"
fi
2016-03-14 17:11:40 +01:00
mkdir -p /var/cache/man
mandb -c /opt/jdk/man
export JAVA_HOME=/opt/jdk