]> gitweb.fluxo.info Git - trashman.git/commitdiff
Fix: docker, docker-compose: adds missing requirement: curl
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 27 Dec 2021 19:52:54 +0000 (16:52 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 27 Dec 2021 19:52:54 +0000 (16:52 -0300)
share/trashman/docker-compose/unix/linux/install
share/trashman/docker/unix/linux/debian/install

index cd3a2b9817e67291511e335131a5e977a183a678..0ee5d81ae55d8709fb70922d1d3e0d8f979fe00d 100755 (executable)
@@ -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
index df87123a7b6495b30095a3a2d601475c49532d5d..c82e136c7ea63205896cb7c28f7161711809d106 100755 (executable)
@@ -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