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

Remove errornous space

This commit is contained in:
WaLLy3K 2017-08-23 11:51:16 +10:00 committed by GitHub
parent d45695a088
commit 2f36acae49

View File

@ -1216,7 +1216,7 @@ install_dependent_packages() {
if command -v debconf-apt-progress &> /dev/null; then if command -v debconf-apt-progress &> /dev/null; then
# For each package, # For each package,
for i in "${argArray1[@]}"; do for i in "${argArray1[@]}"; do
echo -ne " ${INFO} Checking for $i..." echo -ne " ${INFO} Checking for $i..."
# #
if dpkg-query -W -f='${Status}' "${i}" 2>/dev/null | grep "ok installed" &> /dev/null; then if dpkg-query -W -f='${Status}' "${i}" 2>/dev/null | grep "ok installed" &> /dev/null; then
# #
@ -1243,7 +1243,7 @@ install_dependent_packages() {
# Install Fedora/CentOS packages # Install Fedora/CentOS packages
for i in "${argArray1[@]}"; do for i in "${argArray1[@]}"; do
echo -ne " ${INFO} Checking for $i..." echo -ne " ${INFO} Checking for $i..."
# #
if ${PKG_MANAGER} -q list installed "${i}" &> /dev/null; then if ${PKG_MANAGER} -q list installed "${i}" &> /dev/null; then
echo -e "${OVER} ${TICK} Checking for $i" echo -e "${OVER} ${TICK} Checking for $i"