mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-28 10:02:43 +01:00
acf9a0e717
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
10 lines
314 B
Bash
10 lines
314 B
Bash
#!/bin/sh
|
|
export JAVA_HOME=/usr/lib%LIBDIRSUFFIX%/zulu-openjdk11
|
|
export MANPATH="${MANPATH}:${JAVA_HOME}/man"
|
|
export PATH="${PATH}:${JAVA_HOME}/bin"
|
|
|
|
if [ -z "$LD_LIBRARY_PATH" ]; then
|
|
export LD_LIBRARY_PATH="${JAVA_HOME}/lib/server"
|
|
else
|
|
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${JAVA_HOME}/lib/server"
|
|
fi
|