Changeset 1530 for trunk/locker


Ignore:
Timestamp:
Mar 29, 2010, 12:18:28 AM (15 years ago)
Author:
mitchb
Message:
Teach scripts-remove about locker.scripts.mit.edu URLs

scripts-start learned about the new-style URLs long ago.  Removals
of autoinstalls should prompt you to fill in the URL you actually
recognize your install as being at (and should attempt to unconfuse
you if your install is from the old era).  Also don't quit before
declaring success if a database was dropped as part of the process.

(Merge of r1221:1526 from branches/locker-dev to trunk, from adehnert)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/locker/bin/scripts-remove

    r463 r1530  
    5454echo
    5555echo "When you installed the software, you chose a URL"
    56 echo "that starts with http://scripts.mit.edu/~$lname/."
    57 echo "Please enter the full URL where this software was"
    58 echo "installed.  (This should correspond to a directory"
    59 echo "in /mit/$lname/web_scripts/.)"
    60 printf "%s" "URL: http://scripts.mit.edu/~$lname/"
     56echo "that starts with http://$lname.scripts.mit.edu/"
     57echo "(for software installed after March 2009) or"
     58echo "http://scripts.mit.edu/~$lname/ (for software"
     59echo "installed before then)."
     60echo "Please enter the new-style full URL where this"
     61echo "software was installed.  (This should correspond"
     62echo "to a directory in /mit/$lname/web_scripts/.)"
     63printf "%s" "URL: http://$lname.scripts.mit.edu/"
    6164read addrend
    6265
     
    6568    echo
    6669    echo "ERROR:"
    67     echo "You must enter one or more characters after ~$lname/"
     70    echo "You must enter one or more characters after mit.edu/"
    6871    echo "The completed address must only contain a-z, 0-9, and /."
    6972    exit 1
     
    146149            echo "available in /mit/sql/backup/$lname".
    147150        fi
    148         exit
    149151    else
    150152        echo "ERROR:"
     
    157159fi
    158160echo
    159 echo "The installation in http://scripts.mit.edu/~$lname/$addrend"
     161echo "The installation in http://$lname.scripts.mit.edu/$addrend"
    160162echo "has been successfully uninstalled."
Note: See TracChangeset for help on using the changeset viewer.