mirror of
https://github.com/YunoHost-Apps/osticket_ynh.git
synced 2024-09-03 19:56:17 +02:00
Upgrade to PHP8.0
This commit is contained in:
parent
d1d5354623
commit
8d080f3c6b
2 changed files with 14 additions and 1 deletions
|
@ -4,7 +4,11 @@
|
||||||
# COMMON VARIABLES
|
# COMMON VARIABLES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
pkg_dependencies="curl php${YNH_PHP_VERSION}-gd php-php-gettext php${YNH_PHP_VERSION}-imap php${YNH_PHP_VERSION}-json php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-apcu php${YNH_PHP_VERSION}-curl"
|
YNH_PHP_VERSION="8.0"
|
||||||
|
|
||||||
|
pkg_dependencies="curl php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-gd php-php-gettext php${YNH_PHP_VERSION}-imap php${YNH_PHP_VERSION}-fpm php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-curl"
|
||||||
|
|
||||||
|
# php${YNH_PHP_VERSION}-apcu
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# PERSONAL HELPERS
|
# PERSONAL HELPERS
|
||||||
|
|
|
@ -177,6 +177,15 @@ then
|
||||||
ynh_secure_remove --file="$final_path/setup"
|
ynh_secure_remove --file="$final_path/setup"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# UPGRADE OSTICKET
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Upgrading the application..."
|
||||||
|
|
||||||
|
pushd "$final_path"
|
||||||
|
php$phpversion manage.php upgrade
|
||||||
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SET THE CRON FILE
|
# SET THE CRON FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue