1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

Rebase onto development

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
Dan Schaper 2016-12-22 03:21:37 -08:00
parent 8ad52806de
commit f458780ba7
No known key found for this signature in database
GPG Key ID: 572E999E385B7BFC

View File

@ -761,10 +761,10 @@ install_dependent_packages() {
return 0
fi
#Fedora
#Fedora/CentOS
for i in "${argArray1[@]}"; do
echo -n "::: Checking for $i..."
if dnf -q list installed "${i}" &> /dev/null; then
if ${PKG_MANAGER} -q list installed "${i}" &> /dev/null; then
echo " installed!"
else
echo " added to install list!"