4 SERNA_DATA_DIR
=${inst_prefix}/serna-free-pkgver
5 LD_LIBRARY_PATH
=${inst_prefix}/serna-free-pkgver/bin:${inst_prefix}/serna-free-pkgver/lib:${inst_prefix}/serna-free-pkgver/python/lib:${LD_LIBRARY_PATH}
7 if [ x
${AXF4_HOME} = x
]; then
8 AXF4_HOME
=/usr
/XSLFormatterV4
11 if [ -e ${AXF4_HOME}/lib
/libXfoInterface.so
]; then
12 LD_LIBRARY_PATH
=${LD_LIBRARY_PATH}:${AXF4_HOME}/lib
15 AXF4_LIB_FOLDER
=${AXF4_HOME}/lib
16 AXF4_BIN_FOLDER
=${AXF4_HOME}/bin
17 AXF4_ETC_FOLDER
=${AXF4_HOME}/etc
18 AXF4_SDATA_FOLDER
=${AXF4_HOME}/sdata
20 if [ x
${AXF4_FONT_CONFIGFILE} = x
]; then
21 [ -f ${AXF4_ETC_FOLDER}/font-config.xml
] && AXF4_FONT_CONFIGFILE
=${AXF4_ETC_FOLDER}/font-config.xml
22 export AXF4_FONT_CONFIGFILE
25 AXF4_LIC_PATH
=${AXF4_ETC_FOLDER}
26 AXF4_HYPDIC_PATH
=${AXF4_ETC_FOLDER}/hyphenation
27 AXF4_DMC_TBLPATH
=${AXF4_SDATA_FOLDER}/base2
29 export AXF4_LIC_PATH AXF4_HYPDIC_PATH AXF4_DMC_TBLPATH
31 JAVA_HOME
=${SERNA_DATA_DIR}/jre
35 export LD_LIBRARY_PATH
37 exec ${inst_prefix}/serna-free-pkgver
/bin
/serna.bin
"$@"