diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-07-18 13:07:23 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-07-18 13:07:23 +0000 |
commit | 67451941a8c02056f21d500b64f1cecbfe7550f9 (patch) | |
tree | 50f6b37e0b1a08d251d1606faf4681215cb26308 /setup_native/scripts/install_solaris.sh | |
parent | 55a246e89d56d0a5c600beece06276fa0e7fdf51 (diff) |
INTEGRATION: CWS sysui09 (1.11.4); FILE MERGED
2005/07/15 09:05:17 obr 1.11.4.1: #b6243141# need to create symlinks for external packages
Diffstat (limited to 'setup_native/scripts/install_solaris.sh')
-rw-r--r-- | setup_native/scripts/install_solaris.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/setup_native/scripts/install_solaris.sh b/setup_native/scripts/install_solaris.sh index 3dfc51ae6942..1c2dc6e92e40 100644 --- a/setup_native/scripts/install_solaris.sh +++ b/setup_native/scripts/install_solaris.sh @@ -168,6 +168,9 @@ then LD_PRELOAD_32=$GETUID_SO /usr/sbin/patchadd -R ${INSTALL_ROOT} -M ${PATCH_PATH} ${PATCH_LIST} 2>&1 | grep -v '/var/sadm/patch' else + # Create /usr directory required by co-packages like SUNWfreetype2 + mkdir -m 0755 -p ${INSTALL_ROOT}/usr + # # Check/Create installation directory # @@ -192,6 +195,11 @@ else echo "Path to the installation : " $INSTALL_ROOT LD_PRELOAD_32=$GETUID_SO /usr/sbin/pkgadd -d ${PACKAGE_PATH} -R ${INSTALL_ROOT} ${PKG_LIST} ${GNOMEPKG} >/dev/null + + # Create symlinks in the program directory for all libraries installed to /usr + for i in `cd ${INSTALL_ROOT}; find usr -name '*.so.*'`; do + ln -s ../../../$i ${INSTALL_DIR}/program/`basename $i` + done fi rm -f $GETUID_SO |