From b833996ae8dc08077b2c618daa392aa32517b01f Mon Sep 17 00:00:00 2001 From: Raoul Hecky Date: Fri, 22 Dec 2017 14:43:12 +0000 Subject: [PATCH] Install mc-agent and cli tools in deb/appimage --- debian/install | 2 ++ scripts/ci/linux/after_success.sh | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/install b/debian/install index 4958bf5f..56fff1d0 100644 --- a/debian/install +++ b/debian/install @@ -1,3 +1,5 @@ build-linux/moolticuted /usr/bin build-linux/moolticute /usr/bin +mc-agent /usr/bin +mc-cli /usr/bin systemd/moolticuted.service /lib/systemd/system \ No newline at end of file diff --git a/scripts/ci/linux/after_success.sh b/scripts/ci/linux/after_success.sh index d997f275..a175f956 100755 --- a/scripts/ci/linux/after_success.sh +++ b/scripts/ci/linux/after_success.sh @@ -72,7 +72,10 @@ $DOCKER_EXEC "DEBEMAIL=${USER_EMAIL} dch --create --distribution trusty --packag echo "Building .deb package..." -$DOCKER_EXEC "cp -f README.md debian/README" +wget_retry https://calaos.fr/mooltipass/tools/linux/mc-agent -O mc-agent +wget_retry https://calaos.fr/mooltipass/tools/linux/mc-cli -O mc-cli + +$DOCKER_EXEC "cp -f README.md mc-agent mc-cli debian/README" $DOCKER_EXEC "dpkg-buildpackage -b -us -uc && mkdir -p build-linux/deb && cp ../*.deb build-linux/deb" echo "Building AppImage"