From 533ebc17f220e794564894b6292f105c33c28535 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Fri, 7 Sep 2018 11:56:23 -0700 Subject: [PATCH] Install multilog automatically on a CI machine --- ci/snap.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ci/snap.sh b/ci/snap.sh index 74d03198c0..041ce6a968 100755 --- a/ci/snap.sh +++ b/ci/snap.sh @@ -44,8 +44,11 @@ set -x echo --- checking for multilog if [[ ! -x /usr/bin/multilog ]]; then - echo "multilog not found, install with: sudo apt-get install -y daemontools" - exit 1 + if [[ -n $CI ]]; then + echo "multilog not found, install with: sudo apt-get install -y daemontools" + exit 1 + fi + sudo apt-get install -y daemontools fi echo --- build: $SNAP_CHANNEL channel