From 7a94bbb3ba3cccc35a39f413efe77b6da4b1a1bc Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 12 May 2020 19:57:29 +0200 Subject: [PATCH] build-devtoolbox: Make aws and vim installation idempotent In case the underlying container already has them. --- build-devtoolbox | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-devtoolbox b/build-devtoolbox index 763aec7..68a5834 100755 --- a/build-devtoolbox +++ b/build-devtoolbox @@ -46,7 +46,7 @@ sudo dnf debuginfo-install -y glib2 glibc libssh gnutls sudo dnf clean packages -sudo pip install awscli +type aws >/dev/null 2>&1 || sudo pip install awscli # unbreak kerberos; https://github.com/debarshiray/toolbox/issues/235 cat </dev/null 2>&1 || sudo ln -s vimx /usr/bin/vim ' -- 2.39.2