Changeset 1492 for branches/locker-dev


Ignore:
Timestamp:
Feb 26, 2010, 12:14:45 AM (14 years ago)
Author:
broder
Message:
Parametrize the maintainer and contact for autoinstallers.

This allows the Scripts autoinstaller infrastructure to be leveraged
by out-of-tree autoinstallers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/locker-dev/locker/deploy/bin/onathena

    r1420 r1492  
    11#!/bin/sh
     2
     3if [ "$aicontact" = "" ]; then
     4    aicontact="scripts@mit.edu"
     5fi
     6
     7if [ "$aimaintainer" = "" ]; then
     8    aimaintainer="scripts.mit.edu"
     9fi
     10
    211
    312checkfailed() {
     
    1221  echo "Sorry, the installation failed:"
    1322  echo "$@"
    14   echo "Please contact scripts@mit.edu and provide a copy of the output of this installer."
     23  echo "Please contact $aicontact and provide a copy of the output of this installer."
    1524  exit 1
    1625}
     
    4150override=1
    4251if [ "$override" = "" ]; then
    43 echo "The scripts.mit.edu automatic installers are currently unavailable."
     52echo "The $aimaintainer automatic installers are currently unavailable."
    4453echo "We hope to make them available again soon."
    4554echo "If you would like us to notify you as soon as they are available again,"
    46 echo "let us know by sending us an e-mail at scripts@mit.edu"
     55echo "let us know by sending us an e-mail at $aicontact"
    4756exit
    4857fi
    4958
    5059echo
    51 echo "== Welcome to the scripts.mit.edu installer for $sname =="
     60echo "== Welcome to the $aimaintainer installer for $sname =="
    5261echo
    5362
     
    5564echo "see <http://scripts.mit.edu/start>."
    5665echo
    57 echo "Please report problems with this installer to scripts@mit.edu."
     66echo "Please report problems with this installer to $aicontact."
    5867echo
    5968echo "Are you performing this install for:"
     
    118127    echo "You already have a directory corresponding to that web address."
    119128    echo "Please remove that directory, choose a different address, or"
    120     echo "contact scripts@mit.edu for assistance."
     129    echo "contact $aicontact for assistance."
    121130    exit 1
    122131fi
     
    267276echo "(You can replace the http with https if you want to use encryption)"
    268277echo "If you have trouble accessing it, feel free to contact"
    269 echo "the scripts.mit.edu team by e-mailing scripts@mit.edu"
     278echo "the $aimaintainer team by e-mailing $aicontact"
    270279exit 0
Note: See TracChangeset for help on using the changeset viewer.