Changeset 2435

Show
Ignore:
Timestamp:
04/06/08 15:06:48 (8 months ago)
Author:
isak
Message:

Applied modified version of patch from ticket #71 that allows 'unsetup' to continue even if 'setup' didn't complete successfully. This makes it possible to clean up after a 'setup' that terminated prematurely.

Closes #71.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • main/trunk/unsetup

    r2160 r2435  
    3030 
    3131if $( ! which "package" > /dev/null 2>&1 ); then 
    32         echo "Package autopackage not found." 
     32        echo "Warning: Could not find the 'package' command. Your setup is likely broken." 
     33        echo "Will continue to try to clean this up anyway" 
    3334        echo 
    34         exit 1 
    3535fi 
    3636 
     
    4545 
    4646if [ ! -f "$apkg_main_dir/setup-log" ] ; then 
    47         echo "Autopackage support code is not linked to CVS.
     47        echo "Autopackage support code is not linked to CVS. Nothing to do.
    4848        echo 
    4949        exit 1