source: branches/version-2_12-dev/setup.sh @ 20116

Revision 20116, 889 bytes checked in by nanasess, 10 years ago (diff)
  • svn properties を再設定
  • 再設定用のスクリプト追加
  • Property svn:eol-style set to LF
  • Property svn:executable set to *
  • Property svn:keywords set to Id
Line 
1#!/bin/sh
2
3WRK_DIR=`pwd`
4
5echo "remove obsolete files..."
6rm -rf $WRK_DIR/.setttings
7rm -rf $WRK_DIR/.buildpath
8rm -rf $WRK_DIR/.project
9rm -rf $WRK_DIR/test
10rm -rf $WRK_DIR/templates
11rm -rf $WRK_DIR/release.sh
12rm -rf $WRK_DIR/html/test
13rm -rf $WRK_DIR/data/downloads/module/*
14rm -rf $WRK_DIR/data/downloads/module2/*
15find $WRK_DIR -name "dummy" -print0 | xargs -0 rm -rf
16find $WRK_DIR -name ".svn" -type d -print0 | xargs -0 rm -rf
17# find $WRK_DIR -iname "*.bak" -delete
18
19echo "set permissions..."
20chmod -R a+w $WRK_DIR/html/install/temp
21chmod -R a+w $WRK_DIR/html/user_data
22chmod -R a+w $WRK_DIR/html/upload
23chmod -R a+w $WRK_DIR/data/cache
24chmod -R a+w $WRK_DIR/data/downloads
25chmod -R a+w $WRK_DIR/data/Smarty
26chmod -R a+w $WRK_DIR/data/class
27chmod -R a+w $WRK_DIR/data/logs
28chmod -R a+w $WRK_DIR/data/upload
29chmod -R a+w $WRK_DIR/data/config
30chmod a+w $WRK_DIR/html
31
32echo "finished."
Note: See TracBrowser for help on using the repository browser.