- Timestamp:
- Apr 6, 2016, 4:43:02 PM (9 years ago)
- Location:
- scripts/usr/local/lib/7dtd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/VERSION
r262 r264 1 Version: 9 82 Release: 2016-0 3-281 Version: 99 2 Release: 2016-04-06 3 3 -
scripts/usr/local/lib/7dtd/commands/updatescripts.sh
r258 r264 58 58 wget -q http://illy.bz/fi/7dtd/management_scripts.tar.gz -O /tmp/management_scripts.tar.gz 59 59 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 61 69 62 70 chown root.root /etc/init.d/7dtd.sh
Note:
See TracChangeset
for help on using the changeset viewer.