mirror of
https://github.com/YunoHost-Apps/joomla_ynh.git
synced 2024-09-03 19:26:34 +02:00
remove installation dir right after downloading source
This commit is contained in:
parent
2d2b8788a0
commit
efe30c0977
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ then
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$install_dir" --keep="configuration.php"
|
ynh_setup_source --dest_dir="$install_dir" --keep="configuration.php"
|
||||||
|
# Remove installation directory
|
||||||
|
ynh_secure_remove --file="$install_dir/installation"
|
||||||
# Run internal update of joomla fixing missing database tables
|
# Run internal update of joomla fixing missing database tables
|
||||||
pushd "$install_dir"
|
pushd "$install_dir"
|
||||||
php$phpversion cli/joomla.php core:update
|
php$phpversion cli/joomla.php core:update
|
||||||
|
|
Loading…
Reference in a new issue