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

index 728a270b24c1affcf4a88ade0831f9e2696317cb..55d8a13d72e945f92471c2475b9b437cc47f0d29 100755 (executable)
@@ -19,7 +19,7 @@ apt-get update && trashman_apt_install apt-transport-https
 
 # Install pubkey
 #trashman_install_apt_key $SHARE/docker/unix/linux/$DISTRO/pubkey.gpg docker.gpg
-curl -fsSL https://download.docker.com/linux/$DISTRO/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
+curl -fsSL https://download.docker.com/linux/$DISTRO/gpg | gpg --yes --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
 
 # Create sources.list entry
 echo "deb [arch=$ARCH signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/$DISTRO $RELEASE stable" > /etc/apt/sources.list.d/docker.list