mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
docker: do not break if gpg key exists #2074
This commit is contained in:
parent
1241636263
commit
ef70b621b8
1 changed files with 3 additions and 1 deletions
|
@ -41,7 +41,9 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
|||
lsb-release
|
||||
|
||||
# add the docker repo
|
||||
if ! gpg /usr/share/keyrings/docker-archive-keyring.gpg 2>/dev/null; then
|
||||
curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
|
||||
fi
|
||||
echo \
|
||||
"deb [arch=arm64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
|
||||
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
|
|
Loading…
Add table
Reference in a new issue