154 |
|
|
155 |
# install wrappers to prevent slowdowns with other locales than 'C' |
# install wrappers to prevent slowdowns with other locales than 'C' |
156 |
minstalldir /usr/bin || die |
minstalldir /usr/bin || die |
157 |
MCONFIG="/usr/bin/wfcmgr" |
echo 'env LC_ALL="" LANG="" LD_LIBRARY_PATH="/opt/ica-client" /opt/ica-client/wfcmgr.bin $*' > ${BINDIR}/usr/bin/wfcmgr || die |
158 |
mclearconfig || die |
echo 'env LC_ALL="" LANG="" LD_LIBRARY_PATH="/opt/ica-client" /opt/ica-client/wfica $*' > ${BINDIR}/usr/bin/wfica || die |
|
maddconfig 'env LC_ALL="" LANG="" LD_LIBRARY_PATH="/opt/ica-client" /opt/ica-client/wfcmgr.bin $*' || die |
|
|
MCONFIG="/usr/bin/wfica" |
|
|
mclearconfig || die |
|
|
maddconfig 'env LC_ALL="" LANG="" LD_LIBRARY_PATH="/opt/ica-client" /opt/ica-client/wfica $*' || die |
|
159 |
mchmod 0755 /usr/bin/wfcmgr || die |
mchmod 0755 /usr/bin/wfcmgr || die |
160 |
mchmod 0755 /usr/bin/wfica || die |
mchmod 0755 /usr/bin/wfica || die |
161 |
|
|
162 |
# fixes some hardcoded pathes |
# fixes some hardcoded pathes |
163 |
minstalldir /etc/env.d || die |
minstalldir /etc/env.d || die |
164 |
MCONFIG="/etc/env.d/10ica-client" |
echo 'ICAROOT=/opt/ica-client' > ${BINDIR}/etc/env.d/10ica-client || die |
|
mclearconfig || die |
|
|
maddconfig 'ICAROOT=/opt/ica-client' || die |
|
165 |
|
|
166 |
# compat symlink |
# compat symlink |
167 |
if [[ ${COMPATSYMLINK} = 1 ]] |
if [[ ${COMPATSYMLINK} = 1 ]] |