aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2021-12-27 16:52:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2021-12-27 16:52:54 -0300
commitc7c134af0e28b1a367b87308e770cc145614cc0f (patch)
tree22bda69d83df6d9407a791c927fab78b72954a10
parentb25b3e64d580c2488371bb25ae2dc93ae3cec005 (diff)
downloadtrashman-c7c134af0e28b1a367b87308e770cc145614cc0f.tar.gz
trashman-c7c134af0e28b1a367b87308e770cc145614cc0f.tar.bz2
Fix: docker, docker-compose: adds missing requirement: curl
-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