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:
parent
fc456ecac4
commit
ddc795b43c
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue