From f5ad3ff4ab318c230b76e81f6ea33f8a4acdc41d Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Thu, 13 Aug 2015 15:30:34 -0700 Subject: [PATCH] Support svg logos too --- update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update.sh b/update.sh index 70be7b720..24b10164d 100755 --- a/update.sh +++ b/update.sh @@ -101,6 +101,9 @@ for repo in "${repos[@]}"; do logo= if [ -e "$repo/logo.png" ]; then logo="![logo](https://raw.githubusercontent.com/docker-library/docs/master/$repo/logo.png)" + elif [ -e "$repo/logo.svg" ]; then + # rawgit.com because: http://stackoverflow.com/a/16462143/433558 + logo="![logo](https://rawgit.com/docker-library/docs/master/$repo/logo.svg)" fi compose=