mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 02:48:51 +00:00
@@ -190,7 +190,7 @@ function move_old_customdir_outside() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function update_seahub_settings () {
|
function update_seahub_settings () {
|
||||||
service_url=`awk -F '=' '/\[General\]/{a=1}a==1&&$1~/SERVICE_URL/{print $2;exit}' ${default_conf_dir}/ccnet.conf`
|
service_url=`awk -F '=' '/\[General\]/{a=1}a==1&&$1~/^SERVICE_URL/{print $2;exit}' ${default_conf_dir}/ccnet.conf`
|
||||||
service_url=$(echo $service_url)
|
service_url=$(echo $service_url)
|
||||||
echo "SERVICE_URL = '${service_url}'">>${default_conf_dir}/seahub_settings.py
|
echo "SERVICE_URL = '${service_url}'">>${default_conf_dir}/seahub_settings.py
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user