mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-25 16:50:14 +00:00
It's not necessary to check rpm, install will return 0 if the package is installed and up to date
This commit is contained in:
parent
3996e11425
commit
461791dddc
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ elif [ -x "$(command -v rpm)" ]; then
|
|||
LIGHTTPD_CFG="lighttpd.conf.fedora"
|
||||
DNSMASQ_USER="nobody"
|
||||
package_check_install() {
|
||||
rpm -qa | grep ^"${1}"- > /dev/null || ${PKG_INSTALL} "${1}"
|
||||
${PKG_INSTALL} "${1}"
|
||||
}
|
||||
else
|
||||
echo "OS distribution not supported"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue