From 36b7098a8413fa32e02098c79375e0b545872d98 Mon Sep 17 00:00:00 2001 From: Maciej Wawryk Date: Thu, 26 Mar 2020 16:24:11 +0100 Subject: [PATCH] scripts/pkgdep: Fix failing symlink creation during python instalation Signed-off-by: Maciej Wawryk Change-Id: Ida6bfaf9ed21c5349a3107e033391f8d30a9ff93 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1497 Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Tomasz Zawadzki Reviewed-by: Karol Latecki Reviewed-by: Darek Stojaczyk --- scripts/pkgdep.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pkgdep.sh b/scripts/pkgdep.sh index 6e4d03da7..5a1e136c8 100755 --- a/scripts/pkgdep.sh +++ b/scripts/pkgdep.sh @@ -81,7 +81,7 @@ if [ -s /etc/redhat-release ]; then if echo "$ID $VERSION_ID" | grep -E -q 'centos 8'; then yum install -y python36 #Create hard link to use in SPDK as python - ln /etc/alternatives/python3 /usr/bin/python + ln /etc/alternatives/python3 /usr/bin/python || true else yum install -y python fi