mirror of
https://github.com/YunoHost-Apps/svgedit_ynh.git
synced 2024-09-03 20:26:24 +02:00
cleanup
This commit is contained in:
parent
d6f7fa2f40
commit
81460fa122
2 changed files with 6 additions and 2 deletions
|
@ -36,8 +36,10 @@ pushd "$install_dir/source"
|
|||
ynh_use_nodejs
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" npm i
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" npm run build
|
||||
ynh_secure_remove --file="node_modules"
|
||||
popd
|
||||
ynh_secure_remove --file="$install_dir/source/node_modules"
|
||||
ynh_secure_remove --file="$install_dir/.cache"
|
||||
ynh_secure_remove --file="$install_dir/.npm"
|
||||
|
||||
mv "$install_dir/source/dist/editor" "$install_dir/www"
|
||||
|
||||
|
|
|
@ -42,8 +42,10 @@ pushd "$install_dir/source"
|
|||
ynh_use_nodejs
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" npm i
|
||||
ynh_exec_warn_less ynh_exec_as "$app" env "$ynh_node_load_PATH" npm run build
|
||||
ynh_secure_remove --file="node_modules"
|
||||
popd
|
||||
ynh_secure_remove --file="$install_dir/source/node_modules"
|
||||
ynh_secure_remove --file="$install_dir/.cache"
|
||||
ynh_secure_remove --file="$install_dir/.npm"
|
||||
|
||||
mv "$install_dir/source/dist/editor" "$install_dir/www"
|
||||
|
||||
|
|
Loading…
Reference in a new issue