From 31d03550122dfc31ec87cd88276de45789c6c4fa Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Wed, 19 Feb 2020 15:11:38 +0100 Subject: [PATCH] moved the content folder to a name that makes more sense for the end user --- deployment-script.sh | 2 +- {content => threadr}/about/index.html | 0 {content => threadr}/img/ThreadR.png | Bin {content => threadr}/img/ThreadR.svg | 0 {content => threadr}/img/group.jpg | Bin {content => threadr}/img/index.html | 0 {content => threadr}/img/server.jpg | Bin {content => threadr}/index.html | 0 {content => threadr}/login/index.html | 0 {content => threadr}/login/redirect.php | 0 {content => threadr}/news/index.php | 0 {content => threadr}/signup/index.html | 0 {content => threadr}/style.css | 0 {content => threadr}/stylesheet.css | 0 {content => threadr}/userhome/index.php | 0 15 files changed, 1 insertion(+), 1 deletion(-) rename {content => threadr}/about/index.html (100%) rename {content => threadr}/img/ThreadR.png (100%) rename {content => threadr}/img/ThreadR.svg (100%) rename {content => threadr}/img/group.jpg (100%) rename {content => threadr}/img/index.html (100%) rename {content => threadr}/img/server.jpg (100%) rename {content => threadr}/index.html (100%) rename {content => threadr}/login/index.html (100%) rename {content => threadr}/login/redirect.php (100%) rename {content => threadr}/news/index.php (100%) rename {content => threadr}/signup/index.html (100%) rename {content => threadr}/style.css (100%) rename {content => threadr}/stylesheet.css (100%) rename {content => threadr}/userhome/index.php (100%) diff --git a/deployment-script.sh b/deployment-script.sh index 8fb6130..f85298a 100755 --- a/deployment-script.sh +++ b/deployment-script.sh @@ -4,7 +4,7 @@ echo "Deployment script for repository \"web-deployment\" ==============================================================================" echo "Replacing %CONTENT_DIR% in all HTML and PHP files." -CONTENT_DIR="\/common\/content" +CONTENT_DIR="\/common\/threadr" echo -e "`find ./ -name '*.html' -or -name '*.php' | sed "s/^/workingfile=\'/;s/\$/\'\; cat \\\$workingfile > .\/tmpdeploymentfile\; cat tmpdeploymentfile | sed \'s#%CONTENT_DIR%#$CONTENT_DIR#\' > \\\$workingfile/"`\nrm tmpdeploymentfile" | bash - echo "============================================================================== diff --git a/content/about/index.html b/threadr/about/index.html similarity index 100% rename from content/about/index.html rename to threadr/about/index.html diff --git a/content/img/ThreadR.png b/threadr/img/ThreadR.png similarity index 100% rename from content/img/ThreadR.png rename to threadr/img/ThreadR.png diff --git a/content/img/ThreadR.svg b/threadr/img/ThreadR.svg similarity index 100% rename from content/img/ThreadR.svg rename to threadr/img/ThreadR.svg diff --git a/content/img/group.jpg b/threadr/img/group.jpg similarity index 100% rename from content/img/group.jpg rename to threadr/img/group.jpg diff --git a/content/img/index.html b/threadr/img/index.html similarity index 100% rename from content/img/index.html rename to threadr/img/index.html diff --git a/content/img/server.jpg b/threadr/img/server.jpg similarity index 100% rename from content/img/server.jpg rename to threadr/img/server.jpg diff --git a/content/index.html b/threadr/index.html similarity index 100% rename from content/index.html rename to threadr/index.html diff --git a/content/login/index.html b/threadr/login/index.html similarity index 100% rename from content/login/index.html rename to threadr/login/index.html diff --git a/content/login/redirect.php b/threadr/login/redirect.php similarity index 100% rename from content/login/redirect.php rename to threadr/login/redirect.php diff --git a/content/news/index.php b/threadr/news/index.php similarity index 100% rename from content/news/index.php rename to threadr/news/index.php diff --git a/content/signup/index.html b/threadr/signup/index.html similarity index 100% rename from content/signup/index.html rename to threadr/signup/index.html diff --git a/content/style.css b/threadr/style.css similarity index 100% rename from content/style.css rename to threadr/style.css diff --git a/content/stylesheet.css b/threadr/stylesheet.css similarity index 100% rename from content/stylesheet.css rename to threadr/stylesheet.css diff --git a/content/userhome/index.php b/threadr/userhome/index.php similarity index 100% rename from content/userhome/index.php rename to threadr/userhome/index.php