From 740c2d538e762a049ad9c59f13482d5c8f68280c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 10 Sep 2023 18:57:20 +0200 Subject: [PATCH] Update manifest.toml --- manifest.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/manifest.toml b/manifest.toml index 6ac2e40..997af8a 100644 --- a/manifest.toml +++ b/manifest.toml @@ -71,7 +71,15 @@ ram.runtime = "50M" main.url = "/" [resources.apt] - packages = "tesseract-ocr imagemagick mariadb-server php8.1-bz2 php8.1-curl php8.1-gd php8.1-zip php8.1-mysql php8.1-xml php8.1-mbstring php8.1-intl" + packages = "tesseract-ocr imagemagick mariadb-server" + + packages_from_raw_bash = """ + if [[ "$release_cycle" == "regular" ]]; then + echo "php8.2-bz2 php8.2-curl php8.2-gd php8.2-zip php8.2-mysql php8.2-xml php8.2-mbstring php8.2-intl" + else + echo "php7.4-bz2 php7.4-curl php7.4-gd php7.4-zip php7.4-mysql php7.4-xml php7.4-mbstring php7.4-intl" + fi + """ [resources.database] type = "mysql"