diff --git a/scripts/install b/scripts/install index 2a21040..460b122 100644 --- a/scripts/install +++ b/scripts/install @@ -72,6 +72,7 @@ mkdir -p $final_path mkdir -p $final_path/installed mkdir -p $final_path/logs mkdir -p $seafile_data +ln -s $seafile_data $final_path/seafile_data # Create User ynh_script_progression --message="Configuring system user..." @@ -98,7 +99,6 @@ ynh_script_progression --message="Configuring application..." --weight=3 chmod +x expect_scripts/install.exp 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" -echo $seafile_data > $final_path/ccnet/seafile.ini # Update seafile config ynh_replace_string --match_string http:// --replace_string https:// --target_file $final_path/conf/ccnet.conf