improved
This commit is contained in:
@@ -1,16 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
#############
|
||||
### Docker
|
||||
|
||||
echo
|
||||
echo " => Docker"
|
||||
echo
|
||||
|
||||
if [ -f /usr/bin/docker ]
|
||||
then
|
||||
echo " -> Already done !"
|
||||
else
|
||||
if [ ! -f /usr/bin/docker ]; then
|
||||
# Add Docker's official GPG key
|
||||
mkdir -p /etc/apt/keyrings
|
||||
curl -fsSL https://download.docker.com/linux/debian/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg --yes
|
||||
|
||||
Reference in New Issue
Block a user