Ignore:
Timestamp:
Jul 1, 2009, 12:04:33 PM (15 years ago)
Author:
ezyang
Message:
Convert MediaWiki autoinstaller to use new Git system.

This was originally a set of three commits that were reverted
in preparation for a merge.
File:
1 edited

Legend:

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

    r1217 r1224  
    235235fi
    236236
    237 # xavid: use p to keep the same permissions as in the file
    238 athrun scripts gtar zxpf "/mit/scripts/deploy$scriptsdev/$deploy.tar.gz"
    239 files=`athrun scripts gfind . -mindepth 1 -maxdepth 1 | grep -v .admin`
    240 numfiles=`echo "$files" | wc -l`
    241 if [ ! -z "$files" ]; then
    242     if [ "$numfiles" -eq 1 ]; then
    243         athrun scripts gfind . -mindepth 2 -maxdepth 2 | xargs -i mv \{} .
    244         rmdir "$files"
    245     fi
    246 fi
    247 if [ -f "/mit/scripts/deploy$scriptsdev/php.ini/$deploy" ]; then
    248         nodot=`echo "$lname" | sed "/\./s///"`;
    249         sed -e "/SCRIPTS_USER/ s//$lname/" -e "/SCRIPTS_NODOT/ s//$nodot/" "/mit/scripts/deploy$scriptsdev/php.ini/$deploy" > php.ini
    250         athrun scripts gfind . -mindepth 1 -type d -exec sh -c 'ln -sf "`echo "$1" | sed '\''s,[^/],,g; s,/,../,g'\''`php.ini" "$1/"' -- {} \;
    251 fi
    252237cd "$origdir"
    253238
    254 vsshrun "deploy$scriptsdev/bin/$deploy" "$sname" "$deploy" "$addrend" "$admin_username" "$requires_sql" "$scriptsdev" "$USER" || die "Unknown failure during configuration"
     239vsshrun "deploy$scriptsdev/bin/$deploy" "$lname" "$sname" "$deploy" "$addrend" "$admin_username" "$requires_sql" "$scriptsdev" "$USER" || die "Unknown failure during configuration"
    255240rm -f "$lroot/web_scripts/$addrend/.scripts-tmp"
    256241checkfailed
Note: See TracChangeset for help on using the changeset viewer.