1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jellyfin-vue_ynh.git synced 2024-09-03 19:26:31 +02:00

Remove source directory after build

This commit is contained in:
Félix Piédallu 2023-11-29 14:30:03 +01:00 committed by Salamandar
parent fc456ecac4
commit ddc795b43c
2 changed files with 2 additions and 0 deletions

View file

@ -37,6 +37,7 @@ ynh_script_progression --message="Building Jellyfin Vue... (this will take some
_patch_config_json "$install_dir/source" _patch_config_json "$install_dir/source"
_npm_build_install "$install_dir/source" "$install_dir/www" "$path/" _npm_build_install "$install_dir/source" "$install_dir/www" "$path/"
ynh_secure_remove --file="$install_dir/source"
#================================================= #=================================================
# SYSTEM CONFIGURATION # SYSTEM CONFIGURATION

View file

@ -33,6 +33,7 @@ then
_patch_config_json "$install_dir/source" _patch_config_json "$install_dir/source"
_npm_build_install "$install_dir/source" "$install_dir/www" "$path/" _npm_build_install "$install_dir/source" "$install_dir/www" "$path/"
ynh_secure_remove --file="$install_dir/source"
fi fi
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"