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

Revision 18296, 948 bytes checked in by Seasoft, 12 years ago (diff)

merge r18118
・取得元: version-2_4

  • /html/upload/csv/ を削除
  • 空ディレクトリ用のダミーファイルを配置

【取得元のログメッセージ】

  • #459 アップロードしたcsvファイルにアクセスできる不具合を修正
  • 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/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" -delete
16find $WRK_DIR -name "info.php" -delete
17find $WRK_DIR -name ".svn" -type d -print0 | xargs -0 rm -rf
18# find $WRK_DIR -iname "*.bak" -delete
19
20echo "set permissions..."
21chmod 666 $WRK_DIR/data/install.php
22chmod -R 777 $WRK_DIR/html/install/temp
23chmod -R 777 $WRK_DIR/html/user_data
24chmod -R 777 $WRK_DIR/html/upload
25chmod -R 777 $WRK_DIR/html/cp
26chmod -R 777 $WRK_DIR/data/cache
27chmod -R 777 $WRK_DIR/data/downloads
28chmod -R 777 $WRK_DIR/data/Smarty
29chmod -R 777 $WRK_DIR/data/class
30chmod -R 777 $WRK_DIR/data/logs
31chmod -R 777 $WRK_DIR/html/cp
32chmod -R 777 $WRK_DIR/data/upload
33
34echo "finished."
Note: See TracBrowser for help on using the repository browser.