Changeset 308 for scripts/usr/local/lib/7dtd/commands/updatescripts.sh
- Timestamp:
- Aug 7, 2017, 7:18:35 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/usr/local/lib/7dtd/commands/updatescripts.sh
r264 r308 62 62 cd $TMPPATH 63 63 for SRCFILE in `find * -type f`; do 64 DESTFOLDER=/`dirname $SRCFILE` 65 mkdir -p $DESTFOLDER 66 cp -a $SRCFILE $DESTFOLDER/ 64 if [[ $SRCFILE != etc* ]] || [[ $SRCFILE == etc/bash_completion+ ]]; then 65 DESTFOLDER=/`dirname $SRCFILE` 66 mkdir -p $DESTFOLDER 67 cp -a $SRCFILE $DESTFOLDER/ 68 fi 67 69 done 68 70 rm -R $TMPPATH 69 71 70 chown root.root /etc/init.d/7dtd.sh72 # chown root.root /etc/init.d/7dtd.sh 71 73 chown root.root /etc/bash_completion.d/7dtd 72 74 chown root.root /usr/local/bin/7dtd.sh 73 75 chown root.root /usr/local/lib/7dtd -R 74 chmod 0755 /etc/init.d/7dtd.sh76 # chmod 0755 /etc/init.d/7dtd.sh 75 77 chmod 0755 /etc/bash_completion.d/7dtd 76 78 chmod 0755 /usr/local/bin/7dtd.sh
Note:
See TracChangeset
for help on using the changeset viewer.