]> gitweb.fluxo.info Git - trashman.git/commitdiff
Fix: docker: distro pubkey
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 5 Apr 2021 13:42:59 +0000 (10:42 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 5 Apr 2021 13:42:59 +0000 (10:42 -0300)
share/trashman/docker/unix/linux/debian/install

index b24c255e3c379257ef4d812f125113e68c58e2be..fb45711a290b474a3cfeb76a30e8a46a2594f86c 100755 (executable)
@@ -18,7 +18,7 @@ RELEASE="`trashman_distro_release`"
 apt-get update && trashman_apt_install apt-transport-https
 
 # Install pubkey
-trashman_install_apt_key $SHARE/docker/unix/linux/debian/pubkey.gpg docker.gpg
+trashman_install_apt_key $SHARE/docker/unix/linux/$DISTRO/pubkey.gpg docker.gpg
 
 # Create sources.list entry
 echo "deb [arch=$ARCH] https://download.docker.com/linux/$DISTRO $RELEASE stable" > /etc/apt/sources.list.d/docker.list