libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit db62e12e75fe6b035a53bd4fbed2aed3362876be
parent b7b5da7a042ae7ded023e7dee73d4cdf3e9476ad
Author: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Date:   Mon, 20 Mar 2017 21:43:16 -0700

add license if applicable

Diffstat:
www/license.md | 1+
www/publish.sh | 7++++++-
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/www/license.md b/www/license.md @@ -1,3 +1,4 @@ + Copyright 2015-2017 Leah Rowe <info@minifree.org> \ Copyright 2017 Alyssa Rosenzweig <alyssa@rosenzweig.io> diff --git a/www/publish.sh b/www/publish.sh @@ -11,9 +11,14 @@ if [ "${FILE}" != "./index" ]; then printf "[Go back to homepage](/index.md)\n\n" >> temp.md fi -#read rest of file +# read rest of file tail -n +5 $FILE.md >> temp.md +# add license notice where applicable +if [[ "${FILE} != "docs*""]] + cat license.md >> temp.md +fi + # change out .md -> .html sed temp.md -i -e 's/.md\(#[a-z\-]*\)*)/.html\1)/g'