mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Update upgrade
Add migration for explicitly setting PHP version
This commit is contained in:
parent
a8aae67f21
commit
5e8db5d924
1 changed files with 10 additions and 0 deletions
|
@ -241,6 +241,16 @@ if grep -q "^matrix-$app" /etc/passwd; then
|
||||||
adduser $app ssl-cert
|
adduser $app ssl-cert
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# MIGRATION 13 : set PHP version if unset
|
||||||
|
#=================================================
|
||||||
|
|
||||||
|
# If phpversion doesn't exist, create it
|
||||||
|
if [ -z "${phpversion:-}" ]; then
|
||||||
|
phpversion=8.3
|
||||||
|
ynh_app_setting_set --app=$app --key=phpversion --value=$phpversion
|
||||||
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue