aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/trashman/docker-compose/unix/linux/install3
-rwxr-xr-xshare/trashman/docker/unix/linux/debian/install2
2 files changed, 4 insertions, 1 deletions
diff --git a/share/trashman/docker-compose/unix/linux/install b/share/trashman/docker-compose/unix/linux/install
index cd3a2b9..0ee5d81 100755
--- a/share/trashman/docker-compose/unix/linux/install
+++ b/share/trashman/docker-compose/unix/linux/install
@@ -11,6 +11,9 @@ VERSION="1.28.6"
# Include basic functions
. $SHARE/trashman/functions || exit 1
+# Install requirements
+apt-get update && trashman_apt_install curl
+
# One-liner install
curl -L "https://github.com/docker/compose/releases/download/$VERSION/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
diff --git a/share/trashman/docker/unix/linux/debian/install b/share/trashman/docker/unix/linux/debian/install
index df87123..c82e136 100755
--- a/share/trashman/docker/unix/linux/debian/install
+++ b/share/trashman/docker/unix/linux/debian/install
@@ -16,7 +16,7 @@ ARCH="`trashman_debian_arch`"
RELEASE="`trashman_distro_release`"
# Install requirements
-apt-get update && trashman_apt_install apt-transport-https
+apt-get update && trashman_apt_install curl apt-transport-https
# Install pubkey
#trashman_install_apt_key $SHARE/docker/unix/linux/$DISTRO/pubkey.gpg docker.gpg