Commit d5af2f0d authored by Michal Berger's avatar Michal Berger Committed by Tomasz Zawadzki
Browse files

pkgpdep: Fix typos, update comments



Signed-off-by: default avatarMichal 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: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
parent 85eb3ed8
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
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
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ install() {
}

pre_install() {
	if [[ $INTSALL_TSOCKS == true ]]; then
	if [[ $INSTALL_TSOCKS == true ]]; then
		install tsocks
	fi
}