From bb4daf002a4e7f022f9795d79655670e76aa3d01 Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Tue, 25 Jan 2022 15:54:08 +0100 Subject: [PATCH] Add php repository for php8.0 --- wo/cli/plugins/stack_pref.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wo/cli/plugins/stack_pref.py b/wo/cli/plugins/stack_pref.py index 988172a..ff2b143 100644 --- a/wo/cli/plugins/stack_pref.py +++ b/wo/cli/plugins/stack_pref.py @@ -81,7 +81,8 @@ def pre_pref(self, apt_packages): # add php repository if (('php7.3-fpm' in apt_packages) or - ('php7.2-fpm' in apt_packages) or ('php7.4-fpm' in apt_packages)): + ('php7.2-fpm' in apt_packages) or ('php7.4-fpm' in apt_packages) or + ('php8.0-fpm' in apt_packages) or ('php8.1-fpm' in apt_packages)): if (WOVar.wo_distro == 'ubuntu'): Log.debug(self, 'Adding ppa for PHP') Log.info(self, "Adding repository for PHP, please wait...")