From 9980149f95f5c48cf4cd49f6c6f65a09eee72517 Mon Sep 17 00:00:00 2001 From: Petr Vorel Date: Tue, 6 Oct 2020 16:28:23 +0200 Subject: [PATCH] travis: Fix Tumbleweed installation to prevent fail the job when /usr/lib/ibmtss/tpm_server does not exist. Fixes: 6c78911 travis: Switch to docker based builds Signed-off-by: Petr Vorel Signed-off-by: Mimi Zohar --- travis/tumbleweed.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/travis/tumbleweed.sh b/travis/tumbleweed.sh index ec4dc43..ecd2372 100755 --- a/travis/tumbleweed.sh +++ b/travis/tumbleweed.sh @@ -42,4 +42,6 @@ zypper --non-interactive install --force-resolution --no-recommends \ which \ xsltproc -[ -f /usr/lib/ibmtss/tpm_server ] && ln -s /usr/lib/ibmtss/tpm_server /usr/local/bin +if [ -f /usr/lib/ibmtss/tpm_server ]; then + ln -s /usr/lib/ibmtss/tpm_server /usr/local/bin +fi