mirror of
https://github.com/YunoHost-Apps/z-push_ynh.git
synced 2024-09-03 18:05:58 +02:00
Fix upgrade on bookworm: call the correct php version
This commit is contained in:
parent
6549c27676
commit
13e7c57c74
2 changed files with 15 additions and 4 deletions
|
@ -53,4 +53,15 @@ ram.runtime = "50M"
|
|||
#REMOVEME? ynh_permission_create --permission="autodiscover" --url="re:$domain_regex/[Aa]uto[Dd]iscover/.*" --allowed="visitors" --show_tile="false" --protected="true"
|
||||
|
||||
[resources.apt]
|
||||
packages = "php7.4-soap, php7.4-imap, php7.4-xsl, php7.4-curl, php7.4-xml, php7.4-ldap, php7.4-cli, php7.4-mbstring, php7.4-memcached, libawl-php"
|
||||
packages = [
|
||||
"php7.4-soap",
|
||||
"php7.4-imap",
|
||||
"php7.4-xsl",
|
||||
"php7.4-curl",
|
||||
"php7.4-xml",
|
||||
"php7.4-ldap",
|
||||
"php7.4-cli",
|
||||
"php7.4-mbstring",
|
||||
"php7.4-memcached",
|
||||
"libawl-php",
|
||||
]
|
||||
|
|
|
@ -144,7 +144,7 @@ ynh_add_config --template="backend/config-autodiscover.php" --destination="$inst
|
|||
ynh_add_config --template="backend/config-searchldap.php" --destination="$install_dir/backend/searchldap/config.php"
|
||||
|
||||
# Fixstates to avoid full resync of devices after version upgrades
|
||||
$install_dir/z-push-admin.php -a fixstates
|
||||
"php$phpversion" "$install_dir/z-push-admin.php" -a fixstates
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
|
|
Loading…
Add table
Reference in a new issue