Changeset 264


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

v99 + bootstrapper 9

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bootstrapper/bootstrap.sh

    r263 r264  
    11#!/bin/bash
    2 VERSION=7
     2VERSION=8
    33
    44#   Copyright 2016 Christian 'Alloc' Illy
  • scripts/usr/local/lib/7dtd/VERSION

    r262 r264  
    1 Version: 98
    2 Release: 2016-03-28
     1Version: 99
     2Release: 2016-04-06
    33
  • scripts/usr/local/lib/7dtd/commands/updatescripts.sh

    r258 r264  
    5858                wget -q http://illy.bz/fi/7dtd/management_scripts.tar.gz -O /tmp/management_scripts.tar.gz
    5959                rm -f /usr/local/lib/7dtd/VERSION /usr/local/lib/7dtd/*.sh /usr/local/lib/7dtd/commands/* /usr/local/bin/7dtd.sh
    60                 tar --touch --no-overwrite-dir --exclude=etc --exclude=home -xzf /tmp/management_scripts.tar.gz -C /
     60                TMPPATH=`mktemp -d`
     61                tar --touch --no-overwrite-dir -xzf /tmp/management_scripts.tar.gz -C $TMPPATH
     62                cd $TMPPATH
     63                for SRCFILE in `find * -type f`; do
     64                        DESTFOLDER=/`dirname $SRCFILE`
     65                        mkdir -p $DESTFOLDER
     66                        cp -a $SRCFILE $DESTFOLDER/
     67                done
     68                rm -R $TMPPATH
    6169
    6270                chown root.root /etc/init.d/7dtd.sh
Note: See TracChangeset for help on using the changeset viewer.