source: branches/version-2_13_3/setup.sh @ 23044

Revision 23044, 808 bytes checked in by Seasoft, 8 years ago (diff)

#2044 (無駄な処理を改善する for 2.13.0)

  • 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
13find $WRK_DIR -name "dummy" -print0 | xargs -0 rm -rf
14find $WRK_DIR -name ".svn" -type d -print0 | xargs -0 rm -rf
15# find $WRK_DIR -iname "*.bak" -delete
16
17echo "set permissions..."
18chmod -R a+w $WRK_DIR/html/install/temp
19chmod -R a+w $WRK_DIR/html/user_data
20chmod -R a+w $WRK_DIR/html/upload
21chmod -R a+w $WRK_DIR/data/cache
22chmod -R a+w $WRK_DIR/data/downloads
23chmod -R a+w $WRK_DIR/data/Smarty
24chmod -R a+w $WRK_DIR/data/class
25chmod -R a+w $WRK_DIR/data/logs
26chmod -R a+w $WRK_DIR/data/upload
27chmod -R a+w $WRK_DIR/data/config
28chmod a+w $WRK_DIR/html
29
30echo "finished."
Note: See TracBrowser for help on using the repository browser.