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

Update upgrade

This commit is contained in:
Éric Gaspar 2023-09-10 17:18:36 +02:00
parent eb83b27fae
commit eda3f0004b

View file

@ -114,9 +114,6 @@ then
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --keep="var/invoices/ var/data/" #config/packages/local.yaml
ynh_secure_remove --file="$final_path/var/plugins/*"
ynh_secure_remove --file="$final_path/var/cache/prod/*"
fi
chmod 750 "$final_path"
@ -156,7 +153,7 @@ ynh_add_nginx_config
#=================================================
ynh_script_progression --message="Building $app..." --weight=1
ynh_install_composer --phpversion="$YNH_PHP_VERSION" --workdir="$final_path" --install_args="--optimize-autoloader --no-scripts"
ynh_install_composer --phpversion="$YNH_PHP_VERSION" --workdir="$final_path" --install_args="--optimize-autoloader --no-interaction"
ynh_composer_exec --phpversion="$YNH_PHP_VERSION" --workdir="$final_path" --commands="require laminas/laminas-ldap"
chmod 750 "$final_path"