1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-24 20:48:01 +00:00

rm validate_ccnet_conf_dir

This commit is contained in:
skywalker
2021-11-19 14:39:50 +08:00
parent a967d5094f
commit 83462652d8
5 changed files with 0 additions and 51 deletions

View File

@@ -73,15 +73,6 @@ function check_python_executable() {
fi
}
function validate_ccnet_conf_dir () {
if [[ ! -d ${default_ccnet_conf_dir} ]]; then
echo "Error: there is no ccnet config directory."
echo "Have you run setup-seafile.sh before this?"
echo ""
exit -1;
fi
}
function validate_seafile_data_dir () {
if [[ ! -d ${default_seafile_data_dir} ]]; then
echo "Error: there is no seafile server data directory."
@@ -198,7 +189,6 @@ function start_seahub_fastcgi () {
function prepare_env() {
check_python_executable;
validate_ccnet_conf_dir;
validate_seafile_data_dir;
if [[ -z "$LANG" ]]; then