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"