diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-04-04 09:11:37 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-04-04 09:11:37 +0000 |
commit | 6156ace969b24729a7cf0ba78e04aea8f8f2f345 (patch) | |
tree | 128e13f0fa2ceec8281927585beaa8d7bfa11494 /setup_native | |
parent | 3eacecda4ab548435282950a3b7b0666b4df7573 (diff) |
INTEGRATION: CWS nativefixer5 (1.4.12); FILE MERGED
2005/03/23 14:35:12 is 1.4.12.2: core01 instead of core
2005/03/17 10:13:20 is 1.4.12.1: #b6235481# preparing new tail version
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/scripts/langpackscript.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/setup_native/scripts/langpackscript.sh b/setup_native/scripts/langpackscript.sh index dd91828bf90e..f7c161dfb0e0 100644 --- a/setup_native/scripts/langpackscript.sh +++ b/setup_native/scripts/langpackscript.sh @@ -49,11 +49,11 @@ echo "Searching for the PRODUCTNAMEPLACEHOLDER installation ..." case $platform in SunOS) - PACKAGENAME=`pkginfo -x | grep PRODUCTNAMEPLACEHOLDER-core | sed "s/ .*//"` + PACKAGENAME=`pkginfo -x | grep PRODUCTNAMEPLACEHOLDER-core01 | sed "s/ .*//"` PRODUCTINSTALLLOCATION="`pkginfo -r $PACKAGENAME`" ;; Linux) - RPMNAME=`rpm -qa | grep PRODUCTNAMEPLACEHOLDER-core` + RPMNAME=`rpm -qa | grep PRODUCTNAMEPLACEHOLDER-core01` PRODUCTINSTALLLOCATION="`rpm -ql $RPMNAME | head -n 1`" ;; *) @@ -77,7 +77,7 @@ fi outdir=/var/tmp/install_$$ mkdir $outdir -#diskSpace=`df -k $outdir | tail -1 | awk '{if ( $4 ~ /%/) { print $3 } else { print $4 } }'` +#diskSpace=`df -k $outdir | $tail_prog -1 | awk '{if ( $4 ~ /%/) { print $3 } else { print $4 } }'` #if [ $diskSpace -lt $diskSpaceRequired ]; then # printf "You will need atleast %s kBytes of Disk Free\n" $diskSpaceRequired # printf "Please free up the required Disk Space and try again\n" |