Changeset 51


Ignore:
Timestamp:
Jun 9, 2014, 10:39:13 AM (11 years ago)
Author:
alloc
Message:

Bootstrapper / updatescripts: Do not change permissions of directories

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bootstrapper/bootstrap.sh

    r48 r51  
    11#!/bin/bash
    2 VERSION=2
     2VERSION=3
    33
    44if [ `id -u` -ne 0 ]; then
     
    150150        echo -e "Downloading and installing management scripts\n"
    151151        wget -nv http://illy.bz/fi/7dtd/management_scripts.tar.gz -O /tmp/management_scripts.tar.gz
    152         tar --touch -xzf /tmp/management_scripts.tar.gz -C /
     152        tar --touch --no-overwrite-dir -xzf /tmp/management_scripts.tar.gz -C /
    153153
    154154        chown root.root /etc/7dtd.conf
  • scripts/usr/local/lib/7dtd/commands/updatescripts.sh

    r50 r51  
    3535                wget -q http://illy.bz/fi/7dtd/management_scripts.tar.gz -O /tmp/management_scripts.tar.gz
    3636                rm -Rf /usr/local/lib/7dtd /usr/local/bin/7dtd.sh
    37                 tar --touch --exclude=etc/7dtd.conf --exclude=etc/cron.d --exclude=home -xzf /tmp/management_scripts.tar.gz -C /
     37                tar --touch --no-overwrite-dir --exclude=etc/7dtd.conf --exclude=etc/cron.d --exclude=home -xzf /tmp/management_scripts.tar.gz -C /
    3838
    3939                chown root.root /etc/init.d/7dtd.sh
Note: See TracChangeset for help on using the changeset viewer.