Cleanup sources after build

This commit is contained in:
Félix Piédallu 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 popd
mv "$install_dir/sources/build" "$install_dir/www" mv "$install_dir/sources/build" "$install_dir/www"
ynh_secure_remove --file="$install_dir/sources"
chown -R "$app:www-data" "$install_dir" chown -R "$app:www-data" "$install_dir"

View file

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