summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlive.sh1
-rwxr-xr-xsync.sh6
2 files changed, 7 insertions, 0 deletions
diff --git a/live.sh b/live.sh
index 456cf83..ab05e4c 100755
--- a/live.sh
+++ b/live.sh
@@ -6,6 +6,7 @@ python3 generatesite.py templates/template_light.txt light
python3 generatesite.py templates/template_solarized.txt solarized
cp -r output/* /var/www
chmod -R +r /var/www/blog
+chmod -R +r /var/www/posts
chmod -R +r /var/www/dark
chmod -R +r /var/www/kawaii
chmod -R +r /var/www/nocss
diff --git a/sync.sh b/sync.sh
index 626c29e..4cf6b68 100755
--- a/sync.sh
+++ b/sync.sh
@@ -13,6 +13,12 @@ rsync -r /var/www/blog/media /var/www/dark/blog/
rsync -r /var/www/blog/media /var/www/light/blog/
rsync -r /var/www/blog/media /var/www/nocss/blog/
rsync -r /var/www/blog/media /var/www/solarized/blog/
+#posts
+rsync -r /var/www/posts/media /var/www/kawaii/posts/
+rsync -r /var/www/posts/media /var/www/dark/posts/
+rsync -r /var/www/posts/media /var/www/light/posts/
+rsync -r /var/www/posts/media /var/www/nocss/posts/
+rsync -r /var/www/posts/media /var/www/solarized/posts/
# waifu media directory
rsync -r /var/www/waifus/media /var/www/kawaii/waifus/