Changeset 17730

Show
Ignore:
Timestamp:
06.11.2008 12:13:07 (11 years ago)
Author:
max
Message:

Fixed some bugs for the Uninstaller on all platforms.

Location:
release-kits/shared/uninstaller
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • release-kits/shared/uninstaller/Uninstall.bat

    r17674 r17730  
    11@echo off 
    2 setup.bat > NUL 
    3 .\bin\%GSDLOS%\search4j.exe -p .\packages\jre -l .\uninst.jar 
     2if exist setup.bat setup.bat > NUL 
     3if exist gs2build\setup.bat gs2build\setup.bat > NUL 
     4 
     5%GSDLHOME%\bin\%GSDLOS%\search4j.exe -p .\packages\jre -l .\uninst.jar 
    46 
    57if exist uninst.flag ( 
  • release-kits/shared/uninstaller/Uninstall.sh

    r17675 r17730  
     1if [ -f "setup.bash" ]; then 
    12. ./setup.bash > /dev/null 
    2 ./bin/$GSDLOS/search4j -p ./packages/jre -l ./uninst.jar 
     3else 
     4. ./gs2build/setup.bash > /dev/null 
     5fi 
     6 
     7$GSDLHOME/bin/$GSDLOS/search4j -p ./packages/jre -l ./uninst.jar 
    38 
    49if [ -e "uninst.flag" ]; then 
     
    712    rmdir packages 
    813     
    9     rm bin/search4j 
     14    rm -f bin/search4j 
    1015    rmdir bin 
    1116         
     
    1520     
    1621    CONTENTS=`ls` 
    17     if [ "$CONTENTS" == "" ]; then 
     22    if [ -z "$CONTENTS" ]; then 
    1823        GSDEL=`pwd` 
    1924        cd .. 
    2025        rmdir $GSDEL 
    2126    fi 
    22      
    2327fi