1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 16:36:15 +00:00
This commit is contained in:
Thomas Marko
2022-10-11 05:05:43 +02:00
committed by GitHub
parent d280786e76
commit c58b4896a9

View File

@@ -190,7 +190,7 @@ function move_old_customdir_outside() {
}
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)
echo "SERVICE_URL = '${service_url}'">>${default_conf_dir}/seahub_settings.py
}