1
0
Fork 0
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:
jarod5001 2024-02-01 20:27:29 +01:00 committed by GitHub
parent 2d2b8788a0
commit efe30c0977
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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