From 99ddad26d46c59838b6404fd4ab208f9718770b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20M=C3=A9ndez=20Quintero?= <38361760+marcos-mendez@users.noreply.github.com> Date: Sun, 5 Jan 2025 21:48:00 -0300 Subject: [PATCH] Update tkl-upgrade-php to php 8.4 The script is working from low to high so im keeping this architecture for nextcloud (as it is already working) --- overlays/php/usr/local/bin/tkl-upgrade-php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/overlays/php/usr/local/bin/tkl-upgrade-php b/overlays/php/usr/local/bin/tkl-upgrade-php index b819b64c..709597a5 100755 --- a/overlays/php/usr/local/bin/tkl-upgrade-php +++ b/overlays/php/usr/local/bin/tkl-upgrade-php @@ -9,7 +9,8 @@ choose_php_version() { echo "4) PHP 8.1" echo "5) PHP 8.2" echo "6) PHP 8.3" - read -r -p "Enter choice [1-6]: " php_choice + echo "7) PHP 8.4" + read -r -p "Enter choice [1-7]: " php_choice case $php_choice in 1) PHPV_NEW="7.3";; @@ -18,6 +19,7 @@ choose_php_version() { 4) PHPV_NEW="8.1";; 5) PHPV_NEW="8.2";; 6) PHPV_NEW="8.3";; + 7) PHPV_NEW="8.4";; *) echo "Invalid choice. Exiting."; exit 1;; esac }