Update install_plugins.sh

This commit is contained in:
Darren 2023-11-14 11:31:44 +08:00 committed by GitHub
parent bb63e836ca
commit cdff2c74db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,7 @@ then
echo "Python 3 is not installed. Installing..."
sudo yum install -y python3 &> /dev/null || sudo apt update -y && sudo apt install -y python3 &> /dev/null
fi
for module in "${modules[@]}"
do
python3 -c "import $module" &> /dev/null