diff options
-rw-r--r-- | CHANGELOG.md | 6 | ||||
-rwxr-xr-x | install.sh | 20 | ||||
-rw-r--r-- | shtml/navigationBar.shtml | 2 |
3 files changed, 26 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f27c92..80d9b8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 2.1 + +* Add installation script + ## 2.0 * Elaborate pages @@ -12,7 +16,7 @@ * Add new project *Backspace* * Add glow to images * Add sources link to navigation bar -* Add clone notices +* Add clone notices2 ## 1.0 diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..981253a --- /dev/null +++ b/install.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env sh + +DESTINATION="${1}" + +if [ -z "${DESTINATION}" ] +then + echo missing destination directory... +fi + +mkdir -p "${DESTINATION}/css" +mkdir -p "${DESTINATION}/js" + +cp "css/"*".css" "${DESTINATION}/css" +cp "js/"*".js" "${DESTINATION}/js" + +cp -r "html" "${DESTINATION}" +cp -r "shtml" "${DESTINATION}" +cp -r "svg" "${DESTINATION}" +cp -r "ttf" "${DESTINATION}" +cp -r "webp" "${DESTINATION}" diff --git a/shtml/navigationBar.shtml b/shtml/navigationBar.shtml index 24e5588..dc67c1a 100644 --- a/shtml/navigationBar.shtml +++ b/shtml/navigationBar.shtml @@ -11,5 +11,5 @@ <a href="/html/luma.html">LUMA</a> <a href="/html/pollex.html">POLLEX</a> <div class="separator"></div> - <a href="https://mandelbrot.dk/">SOURCE</a> + <a href="https://mandelbrot.dk/">SOURCES</a> </div> |