From 8e4d0e628320ef4fcea9ec7efad0fbfedc0f788d Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Tue, 23 Sep 2014 13:43:33 -0600 Subject: [PATCH] move README-content.md to just content.md --- buildpack-deps/{README-content.md => content.md} | 0 clojure/{README-content.md => content.md} | 0 gcc/{README-content.md => content.md} | 0 golang/{README-content.md => content.md} | 0 hello-world/{README-content.md => content.md} | 0 hello-world/update.sh | 2 +- hylang/{README-content.md => content.md} | 0 java/{README-content.md => content.md} | 0 mongo/{README-content.md => content.md} | 0 mysql/{README-content.md => content.md} | 0 nginx/{README-content.md => content.md} | 0 node/{README-content.md => content.md} | 0 perl/{README-content.md => content.md} | 0 php/{README-content.md => content.md} | 0 postgres/{README-content.md => content.md} | 0 python/{README-content.md => content.md} | 0 rails/{README-content.md => content.md} | 0 redis/{README-content.md => content.md} | 0 ruby/{README-content.md => content.md} | 0 ubuntu/{README-content.md => content.md} | 0 update.sh | 8 ++++---- wordpress/{README-content.md => content.md} | 0 22 files changed, 5 insertions(+), 5 deletions(-) rename buildpack-deps/{README-content.md => content.md} (100%) rename clojure/{README-content.md => content.md} (100%) rename gcc/{README-content.md => content.md} (100%) rename golang/{README-content.md => content.md} (100%) rename hello-world/{README-content.md => content.md} (100%) rename hylang/{README-content.md => content.md} (100%) rename java/{README-content.md => content.md} (100%) rename mongo/{README-content.md => content.md} (100%) rename mysql/{README-content.md => content.md} (100%) rename nginx/{README-content.md => content.md} (100%) rename node/{README-content.md => content.md} (100%) rename perl/{README-content.md => content.md} (100%) rename php/{README-content.md => content.md} (100%) rename postgres/{README-content.md => content.md} (100%) rename python/{README-content.md => content.md} (100%) rename rails/{README-content.md => content.md} (100%) rename redis/{README-content.md => content.md} (100%) rename ruby/{README-content.md => content.md} (100%) rename ubuntu/{README-content.md => content.md} (100%) rename wordpress/{README-content.md => content.md} (100%) diff --git a/buildpack-deps/README-content.md b/buildpack-deps/content.md similarity index 100% rename from buildpack-deps/README-content.md rename to buildpack-deps/content.md diff --git a/clojure/README-content.md b/clojure/content.md similarity index 100% rename from clojure/README-content.md rename to clojure/content.md diff --git a/gcc/README-content.md b/gcc/content.md similarity index 100% rename from gcc/README-content.md rename to gcc/content.md diff --git a/golang/README-content.md b/golang/content.md similarity index 100% rename from golang/README-content.md rename to golang/content.md diff --git a/hello-world/README-content.md b/hello-world/content.md similarity index 100% rename from hello-world/README-content.md rename to hello-world/content.md diff --git a/hello-world/update.sh b/hello-world/update.sh index 8e9cf5226..1f94c8dfd 100755 --- a/hello-world/update.sh +++ b/hello-world/update.sh @@ -3,7 +3,7 @@ set -e docker pull hello-world &> /dev/null -exec > "$(dirname "$(readlink -f "$BASH_SOURCE")")/README-content.md" +exec > "$(dirname "$(readlink -f "$BASH_SOURCE")")/content.md" echo '# Example output' echo diff --git a/hylang/README-content.md b/hylang/content.md similarity index 100% rename from hylang/README-content.md rename to hylang/content.md diff --git a/java/README-content.md b/java/content.md similarity index 100% rename from java/README-content.md rename to java/content.md diff --git a/mongo/README-content.md b/mongo/content.md similarity index 100% rename from mongo/README-content.md rename to mongo/content.md diff --git a/mysql/README-content.md b/mysql/content.md similarity index 100% rename from mysql/README-content.md rename to mysql/content.md diff --git a/nginx/README-content.md b/nginx/content.md similarity index 100% rename from nginx/README-content.md rename to nginx/content.md diff --git a/node/README-content.md b/node/content.md similarity index 100% rename from node/README-content.md rename to node/content.md diff --git a/perl/README-content.md b/perl/content.md similarity index 100% rename from perl/README-content.md rename to perl/content.md diff --git a/php/README-content.md b/php/content.md similarity index 100% rename from php/README-content.md rename to php/content.md diff --git a/postgres/README-content.md b/postgres/content.md similarity index 100% rename from postgres/README-content.md rename to postgres/content.md diff --git a/python/README-content.md b/python/content.md similarity index 100% rename from python/README-content.md rename to python/content.md diff --git a/rails/README-content.md b/rails/content.md similarity index 100% rename from rails/README-content.md rename to rails/content.md diff --git a/redis/README-content.md b/redis/content.md similarity index 100% rename from redis/README-content.md rename to redis/content.md diff --git a/ruby/README-content.md b/ruby/content.md similarity index 100% rename from ruby/README-content.md rename to ruby/content.md diff --git a/ubuntu/README-content.md b/ubuntu/content.md similarity index 100% rename from ubuntu/README-content.md rename to ubuntu/content.md diff --git a/update.sh b/update.sh index 3dfd8dd88..094d7c8ed 100755 --- a/update.sh +++ b/update.sh @@ -37,7 +37,7 @@ for repo in "${repos[@]}"; do gitRepo="https://github.com/docker-library/$repo" ;; esac - if [ -e "$repo/README-content.md" ]; then + if [ -e "$repo/content.md" ]; then mailingList="$(cat "$repo/mailing-list.md" 2>/dev/null || true)" if [ "$mailingList" ]; then mailingList=" $mailingList " @@ -54,8 +54,8 @@ for repo in "${repos[@]}"; do echo ' TAGS => ./generate-dockerfile-links-partial.sh' replace_field "$repo" 'TAGS' "$(./generate-dockerfile-links-partial.sh "$repo")" - echo ' CONTENT => '"$repo"'/README-content.md' - replace_field "$repo" 'CONTENT' "$(cat "$repo/README-content.md")" + echo ' CONTENT => '"$repo"'/content.md' + replace_field "$repo" 'CONTENT' "$(cat "$repo/content.md")" echo ' LICENSE => '"$repo"'/license.md' replace_field "$repo" 'LICENSE' "$license" @@ -68,6 +68,6 @@ for repo in "${repos[@]}"; do echo else - echo >&2 "skipping $repo: missing repo/README-content.md" + echo >&2 "skipping $repo: missing repo/content.md" fi done diff --git a/wordpress/README-content.md b/wordpress/content.md similarity index 100% rename from wordpress/README-content.md rename to wordpress/content.md