source: branches/comu-ver2/setup.sh @ 17098

Revision 17098, 857 bytes checked in by ramrun, 14 years ago (diff)

チェックアウト後のインストール環境設定用

  • Property svn:executable set to *
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/convert.php
12rm -rf $WRK_DIR/release.sh
13rm -rf $WRK_DIR/html/test
14rm -rf $WRK_DIR/data/downloads/module/*
15rm -rf $WRK_DIR/data/downloads/module2/*
16find ./$WRK_DIR -name "dummy" -delete
17find ./$WRK_DIR -name "info.php" -delete
18
19echo "set permissions..."
20chmod 666 $WRK_DIR/data/install.php
21chmod -R 777 $WRK_DIR/html/install/temp
22chmod -R 777 $WRK_DIR/html/user_data
23chmod -R 777 $WRK_DIR/html/upload
24chmod -R 777 $WRK_DIR/html/cp
25chmod -R 777 $WRK_DIR/data/cache
26chmod -R 777 $WRK_DIR/data/downloads
27chmod -R 777 $WRK_DIR/data/Smarty
28chmod -R 777 $WRK_DIR/data/class
29chmod -R 777 $WRK_DIR/data/logs
30chmod -R 777 $WRK_DIR/html/cp
31
32echo "finished successful!"
Note: See TracBrowser for help on using the repository browser.