Avoid current issue

This commit is contained in:
Josué Tille 2020-09-29 22:38:08 +02:00
parent 46e9b23461
commit eb481da301
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -103,6 +103,8 @@ chmod +x expect_scripts/install.exp
chmod +x $final_path/seafile-server-$seafile_version/setup-seafile-mysql.sh chmod +x $final_path/seafile-server-$seafile_version/setup-seafile-mysql.sh
expect_scripts/install.exp "$final_path/seafile-server-$seafile_version" "$server_name" "$domain" "$seafile_data" "$fileserver_port" "$db_pwd" expect_scripts/install.exp "$final_path/seafile-server-$seafile_version" "$server_name" "$domain" "$seafile_data" "$fileserver_port" "$db_pwd"
sleep 3
# Update seafile config # Update seafile config
ynh_replace_string --match_string http:// --replace_string https:// --target_file $final_path/conf/ccnet.conf ynh_replace_string --match_string http:// --replace_string https:// --target_file $final_path/conf/ccnet.conf
ynh_replace_string --match_string :8000 --replace_string $path_url --target_file $final_path/conf/ccnet.conf ynh_replace_string --match_string :8000 --replace_string $path_url --target_file $final_path/conf/ccnet.conf