CentOS installations might have "apt" as "annotation processing tool", fixed so it checks for apt-get (#1955)

This commit is contained in:
Thorleif Jacobsen 2024-05-15 16:33:12 +02:00 committed by GitHub
parent 1444fbe104
commit 10fbdc2c4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -369,7 +369,7 @@ if type uname >/dev/null 2>&1; then
# Check the availability of a compatible package manager
if check_use_bin_variable; then
PACKAGE_MANAGER="bin"
elif [ -x "$(command -v apt)" ]; then
elif [ -x "$(command -v apt-get)" ]; then
PACKAGE_MANAGER="apt"
echo "The installation will be performed using apt package manager"
elif [ -x "$(command -v dnf)" ]; then