Cleanup sources after build
This commit is contained in:
parent
0c1312f949
commit
6ed8daec24
2 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue