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

15 lines
445 B
Plaintext
Raw Normal View History

2016-04-12 17:26:16 +02:00
. /lib/lsb/init-functions
2016-02-24 01:27:23 +01:00
if (grep jdk /etc/man_db.conf > /dev/null); then
2016-04-12 17:26:16 +02:00
cat >> /etc/man_db.conf << "EOF"
2016-02-24 01:27:23 +01:00
# 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