pkgpdep: Fix typos, update comments

Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: I000087b4ecf6f887fb5d5c300215b72eee373115
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9553
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
Michal Berger 2021-09-21 11:51:16 +02:00 committed by Tomasz Zawadzki
parent 85eb3ed86b
commit d5af2f0d73
2 changed files with 4 additions and 5 deletions

View File

@ -1,8 +1,7 @@
pre_install() {
if [[ $INTSALL_TSOCKS == true ]]; then
# currently, tsocks package is retired in fedora 31, so don't exit in case
# installation failed
# FIXME: Review when fedora starts to successfully build this package again.
if [[ $INSTALL_TSOCKS == true ]]; then
# tsocks package is not available in latest fedora releases, so don't exit in case
# installation failed.
install tsocks || echo "Installation of the tsocks package failed, proxy may not be available"
fi
if [[ $ID == centos ]] && (( VERSION_ID == 8 )); then

View File

@ -11,7 +11,7 @@ install() {
}
pre_install() {
if [[ $INTSALL_TSOCKS == true ]]; then
if [[ $INSTALL_TSOCKS == true ]]; then
install tsocks
fi
}