diff --git a/scripts/install b/scripts/install index a5cee30..177bb28 100755 --- a/scripts/install +++ b/scripts/install @@ -25,7 +25,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1 # Download, check integrity, uncompress and patch the source from manifest.toml ynh_setup_source --dest_dir="$install_dir" -ynh_add_config --template="../sources/index.html" --destination="$install_dir/dist/index.html" +ynh_add_config --template="../sources/index.html" --destination="$install_dir/index.html" chown -R "$app:www-data" "$install_dir" diff --git a/scripts/upgrade b/scripts/upgrade index 342a31e..09869be 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -27,7 +27,7 @@ ynh_script_progression --message="Upgrading source files..." --weight=4 # Download, check integrity, uncompress and patch the source from manifest.toml ynh_setup_source --dest_dir="$install_dir" --full_replace=1 -ynh_add_config --template="../sources/index.html" --destination="$install_dir/dist/index.html" +ynh_add_config --template="../sources/index.html" --destination="$install_dir/index.html" chown -R $app:www-data "$install_dir"