Changeset 263 for bootstrapper


Ignore:
Timestamp:
Apr 6, 2016, 4:33:40 PM (9 years ago)
Author:
alloc
Message:

Bootstrapper test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootstrapper/bootstrap.sh

    r258 r263  
    165165        echo -e "Downloading and installing management scripts\n"
    166166        wget -nv http://illy.bz/fi/7dtd/management_scripts.tar.gz -O /tmp/management_scripts.tar.gz
    167         tar --touch --no-overwrite-dir -xzf /tmp/management_scripts.tar.gz -C /
     167        TMPPATH=`mktemp -d`
     168        tar --touch --no-overwrite-dir -xzf /tmp/management_scripts.tar.gz -C $TMPPATH
     169        cd $TMPPATH
     170        for SRCFILE in `find * -type f`; do
     171                DESTFOLDER=/`dirname $SRCFILE`
     172                mkdir -p $DESTFOLDER
     173                cp -a $SRCFILE $DESTFOLDER/
     174        done
     175        rm -R $TMPPATH
    168176
    169177        chown root.root /etc/7dtd.conf
Note: See TracChangeset for help on using the changeset viewer.