diff --git a/scripts/install b/scripts/install index 65610ed..f4337ac 100755 --- a/scripts/install +++ b/scripts/install @@ -37,6 +37,7 @@ ynh_script_progression --message="Building Jellyfin Vue... (this will take some _patch_config_json "$install_dir/source" _npm_build_install "$install_dir/source" "$install_dir/www" "$path/" +ynh_secure_remove --file="$install_dir/source" #================================================= # SYSTEM CONFIGURATION diff --git a/scripts/upgrade b/scripts/upgrade index 16b8a87..0883b57 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -33,6 +33,7 @@ then _patch_config_json "$install_dir/source" _npm_build_install "$install_dir/source" "$install_dir/www" "$path/" + ynh_secure_remove --file="$install_dir/source" fi chown -R $app:www-data "$install_dir"