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

If phpversion doesn't exist, create it

This commit is contained in:
Kay0u 2021-01-21 17:16:43 +01:00
parent fb79fd434d
commit 504c04be57
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -65,6 +65,11 @@ if [ -z "$fpm_usage" ]; then
ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage
fi
# If phpversion doesn't exist, create it
if [ -z "$phpversion" ]; then
phpversion="$YNH_PHP_VERSION"
fi
#=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
#=================================================