1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/scratch_ynh.git synced 2024-09-03 20:26:03 +02:00

Cleanup sources after build

This commit is contained in:
Salamandar 2024-06-20 22:20:06 +02:00
parent 0c1312f949
commit 6ed8daec24
2 changed files with 2 additions and 0 deletions

View file

@ -39,6 +39,7 @@ pushd "$install_dir/sources"
popd
mv "$install_dir/sources/build" "$install_dir/www"
ynh_secure_remove --file="$install_dir/sources"
chown -R "$app:www-data" "$install_dir"

View file

@ -30,6 +30,7 @@ pushd "$install_dir/sources"
popd
mv "$install_dir/sources/build" "$install_dir/www"
ynh_secure_remove --file="$install_dir/sources"
chown -R "$app:www-data" "$install_dir"