From ceb3542b131a6967501202e95f5bb1acb1391db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Tue, 26 Sep 2023 12:18:39 +0200 Subject: [PATCH] Fix ynh_add_config --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 27b91d0..d6a31ec 100755 --- a/scripts/install +++ b/scripts/install @@ -21,7 +21,7 @@ ynh_setup_source --source_id=httpsh --dest_dir="$install_dir/httpsh" # TODO: copy files where needed mv "$install_dir/httpsh/usr/local/bin/ttyd-login" "$install_dir/httpsh" -ynh_add_config --template="ttyd_httphs.conf" --destination="$install_dir/ttyd_httphs.conf" +ynh_add_config --template="../conf/ttyd_httphs.conf" --destination="$install_dir/ttyd_httphs.conf" chown -R "$app:$app" "$install_dir" diff --git a/scripts/upgrade b/scripts/upgrade index 6020909..e5a3bb9 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -87,7 +87,7 @@ ynh_script_progression --message="Updating a configuration file..." --weight=1 # TODO: copy files where needed mv "$install_dir/httpsh/usr/local/bin/ttyd-login" "$install_dir/httpsh" -ynh_add_config --template="ttyd_httphs.conf" --destination="$install_dir/ttyd_httphs.conf" +ynh_add_config --template="../conf/ttyd_httphs.conf" --destination="$install_dir/ttyd_httphs.conf" chown -R "$app:$app" "$install_dir"