More readable script

This commit is contained in:
Quentin Dufour 2017-02-09 15:32:22 +01:00
parent 6d28953147
commit b8e2fbfae2

View file

@ -75,8 +75,15 @@ Voici un script réalisé à partir des commandes fournies par la documentation
``` ```
#!/bin/bash #!/bin/bash
apt update apt update
apt install -y curl apt-transport-https ca-certificates software-properties-common
curl -fsSL https://yum.dockerproject.org/gpg | apt-key add - apt install -y curl \
apt-transport-https \
ca-certificates \
software-properties-common
curl -fsSL https://yum.dockerproject.org/gpg |
apt-key add -
add-apt-repository "deb https://apt.dockerproject.org/repo/ debian-$(lsb_release -cs) main" add-apt-repository "deb https://apt.dockerproject.org/repo/ debian-$(lsb_release -cs) main"
apt update apt update