mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
Fix
This commit is contained in:
parent
9f7880e017
commit
37c6bd188e
2 changed files with 3 additions and 3 deletions
|
@ -97,7 +97,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|||
#=================================================
|
||||
ynh_script_progression --message="Configuring ttrss..." --weight=1
|
||||
|
||||
domain_path=$(https://$domain$path_url)
|
||||
domain_path=https://$domain$path_url
|
||||
ynh_add_config --template="../conf/config.php" --destination="$final_path/config.php"
|
||||
|
||||
#=================================================
|
||||
|
@ -123,7 +123,7 @@ ynh_script_progression --message="Initializing database..." --weight=6
|
|||
ynh_mysql_connect_as --user="$db_name" --password="$db_pwd" --database="$db_name" \
|
||||
< "$final_path/schema/ttrss_schema_mysql.sql"
|
||||
|
||||
ynh_exec_as $app php"${phpversion}" ${final_path}/update.php --update-schema
|
||||
ynh_exec_as $app php${phpversion} ${final_path}/update.php --update-schema
|
||||
|
||||
#=================================================
|
||||
# START TTRSS IN BACKGROUND
|
||||
|
|
|
@ -127,7 +127,7 @@ then
|
|||
mv "$tmpdir" "$final_path"
|
||||
ynh_secure_remove --file="$tmpdir"
|
||||
|
||||
domain_path=$(https://$domain$path_url)
|
||||
domain_path=https://$domain$path_url
|
||||
ynh_add_config --template="../conf/config.php" --destination="$final_path/config.php"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue