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
1 changed files with 1 additions and 1 deletions

View File

@ -1560,7 +1560,7 @@ update_package_cache() {
else else
# show an error and exit # show an error and exit
printf "%b %b %s\\n" "${OVER}" "${CROSS}" "${str}" 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 return 1
fi fi
} }