From ac2f8b7eeed09d11808d94068c4db7e426e28dc7 Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Mon, 12 Nov 2018 13:40:43 +1030 Subject: change scripts to acompany blog->posts change --- live.sh | 1 + sync.sh | 6 ++++++ 2 files changed, 7 insertions(+) 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/ -- cgit v1.2.3