head	1.5;
access;
symbols
	JSBoard-2_0_15:1.5
	JSBoard-2_0_14:1.4
	JSBoard-2_0_13:1.4
	JSBoard-2_0_12:1.4
	JSBoard-2_0_11:1.4
	JSBoard-2_0_10:1.4
	JSBoard-2_0_9:1.4
	JSBoard-2_0_7:1.4
	JSBoard-2_0_6:1.3
	JSBoard-2_0_5:1.2
	JSboard-2:1.2
	branch-release-1-0:1.2.0.2
	JSBoard-2_0_4:1.2
	JSBoard-2_0_3:1.2
	JSBoard-2_0_2:1.2
	JSBoard-2_0_1:1.1.1.1
	JSBoard-2_0_0:1.1.1.1
	JSBoard-2_0pre4:1.1.1.1
	jsboard-2_0pre3:1.1.1.1
	start:1.1.1.1
	JSBoardOpenProject:1.1.1;
locks; strict;
comment	@# @;


1.5
date	2009.11.19.05.29.50;	author oops;	state Exp;
branches;
next	1.4;

1.4
date	2004.03.11.18.57.36;	author oops;	state Exp;
branches;
next	1.3;

1.3
date	2003.07.28.16.42.46;	author oops;	state Exp;
branches;
next	1.2;

1.2
date	2002.10.30.06.57.46;	author oops;	state Exp;
branches;
next	1.1;

1.1
date	2001.12.04.05.48.43;	author oops;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.12.04.05.48.43;	author oops;	state Exp;
branches;
next	;


desc
@@


1.5
log
@add cvs id
@
text
@#!/bin/sh
# $Id: $
clear
echo "########################################################"
echo "# JSBoard Config File Installer v2.0                   #"
echo "# Scripted By JoungKyun Kim < http://www.oops.org >    #"
echo "########################################################"
echo

echo "STEP 1 Language Check"
echo "---------------------"
echo -n "Do you want to use Koean during the installation? [Y/N](default Y) : "
read langs

case "${langs}" in
  N*|n*)
    langs=en ;;
  *)
    langs=ko ;;
esac

if [ "${langs}" = "ko" ]; then
  . ./LANG/ko.conf
else
  . ./LANG/en.conf
fi

cp -Rp ../sample/admin/global.php.orig ../../config/global.php
cp -Rp ../sample/admin/spam_list.txt.orig ../../config/spam_list.txt
if [ -d "../../data/test" ]; then
  cp -Rp ../sample/data/* ../../data/test/
else
  cp -Rp ../sample/data/ ../../data/test
fi

# permission configuration
chmod 707 ../../config
chmod 707 ../../data
chmod 707 ../../data/test
chmod 707 ../../data/test/files
chmod 660 ../../config/global.php
chmod 660 ../../config/spam_list.txt
chmod 606 ../../data/test/config.php
chmod 606 ../../data/test/html_head.php
chmod 606 ../../data/test/html_tail.php
chmod 606 ../../data/test/stylesheet.php

echo
echo -e ${ACC_END_MSG}
echo

exit 0
@


1.4
log
@changed file extension .ph to .php
@
text
@d2 1
@


1.3
log
@remove security warnning fucntion
@
text
@d27 1
a27 1
cp -Rp ../sample/admin/global.ph.orig ../../config/global.ph
d40 1
a40 1
chmod 660 ../../config/global.ph
d42 4
a45 4
chmod 606 ../../data/test/config.ph
chmod 606 ../../data/test/html_head.ph
chmod 606 ../../data/test/html_tail.ph
chmod 606 ../../data/test/stylesheet.ph
@


1.2
log
@update english manuals
@
text
@a27 1
cp -Rp ../sample/admin/security_data.ph.orig ../../config/security_data.ph
a40 1
chmod 606 ../../config/security_data.ph
@


1.1
log
@Initial revision
@
text
@d11 1
a11 1
echo -n "Can you enable to use KOREAN in this console? [Y/N](default Y) : "
@


1.1.1.1
log
@JSBoard-2.x
@
text
@@
