feat: PHP 扩展选项默认增加 imagick (#168)

This commit is contained in:
zhengkunwang223
2023-06-29 11:34:36 +08:00
committed by GitHub
parent 596d533708
commit f05ec04cad
16 changed files with 109 additions and 31 deletions
+4
View File
@@ -121,6 +121,10 @@
{
"label": "sg11",
"value": "sourceguardian"
},
{
"label": "imagick",
"value": "imagick"
}
],
"envKey": "PHP_EXTENSIONS",
@@ -83,6 +83,11 @@ if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi
if [[ -z "${EXTENSIONS##*,sourceguardian,*}" ]]; then
echo "---------- Install sourceguardian ----------"
install-php-extensions sourceguardian
fi
# end