summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh20
1 files changed, 20 insertions, 0 deletions
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}"