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

Merge pull request #2718 from Piskvor/basic-install-package-manager-typo

Show $UPDATE_PKG_CACHE content in error message.
This commit is contained in:
DL6ER 2019-04-24 10:17:23 +02:00 committed by GitHub
commit e3d9cf0ac1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1560,7 +1560,7 @@ update_package_cache() {
else
# show an error and exit
printf "%b %b %s\\n" "${OVER}" "${CROSS}" "${str}"
printf " %bError: Unable to update package cache. Please try \"%s\"%b" "${COL_LIGHT_RED}" "${COL_LIGHT_RED}" "${COL_NC}"
printf " %bError: Unable to update package cache. Please try \"%s\"%b" "${COL_LIGHT_RED}" "${UPDATE_PKG_CACHE}" "${COL_NC}"
return 1
fi
}