summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2005-06-17 13:12:43 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2005-06-17 13:12:43 +0000
commit197892435dd77ca0abc0074f83ae93ec343ac71a (patch)
tree78685ee55eea0676bd3671aa06f4bc0a50292fd4
parentbfe52e50d7213998073f3c44bae23325f87f3dc3 (diff)
INTEGRATION: CWS nativefixer10 (1.6.32); FILE MERGED
2005/06/13 13:43:56 obr 1.6.32.1: #123452# teach user install scripts to install patches as well
-rw-r--r--setup_native/scripts/uninstall_solaris.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/setup_native/scripts/uninstall_solaris.sh b/setup_native/scripts/uninstall_solaris.sh
index ee2deb942..970191f08 100644
--- a/setup_native/scripts/uninstall_solaris.sh
+++ b/setup_native/scripts/uninstall_solaris.sh
@@ -17,7 +17,6 @@ MY_ROOT=$1
cd `dirname $0`
DIRECTORY=`pwd`
-ADMINFILE=$DIRECTORY/admin
GETUID_SO=/tmp/getuid.so.$$
linenum=???
tail +$linenum `basename $0` > $GETUID_SO
@@ -42,12 +41,8 @@ INSTALL_DIR=$MY_ROOT`pkginfo -R $MY_ROOT -r $COREPKG01`
# Restore original bootstraprc
mv -f $INSTALL_DIR/program/bootstraprc.orig $INSTALL_DIR/program/bootstraprc
-LD_PRELOAD=$GETUID_SO
-export LD_PRELOAD
-
for i in $PKGLIST $COREPKG; do
- echo /usr/sbin/pkgrm -a $ADMINFILE -R $MY_ROOT $i
- /usr/sbin/pkgrm -n -a $ADMINFILE -R $MY_ROOT $i
+ LD_PRELOAD=$GETUID_SO /usr/sbin/pkgrm -n -R $MY_ROOT $i
done
# Removing old root directory, very dangerous!