From 92bac9de547342452cdbf4225aa94167575f7407 Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Wed, 21 Jun 2017 09:19:03 -0400 Subject: [PATCH] build is hard --- build/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/build.sh b/build/build.sh index 6294d11b7..9019a88be 100755 --- a/build/build.sh +++ b/build/build.sh @@ -46,9 +46,9 @@ if [ "$FULL_BUILD" == "true" ]; then fi libsecret="libsecret-1-dev" -if [ $LINUX -a -z "$(dpkg-query --show --showformat='${Status}\n' "$libsecret" 2>/dev/null | grep "install ok installed")" ]; then +if $LINUX && [ -z "$(dpkg-query --show --showformat='${Status}\n' "$libsecret" 2>/dev/null | grep "install ok installed")" ]; then # this is needed for keytar, which does secure password/token management - sudo apt-get install "$libsecret" + sudo apt-get install --no-install-recommends -y "$libsecret" fi