summaryrefslogtreecommitdiff
path: root/html-gen.sh
diff options
context:
space:
mode:
authorp4bl0 <r@uzy.me>2012-02-26 23:41:51 +0100
committerp4bl0 <r@uzy.me>2012-02-26 23:41:51 +0100
commita5d97dc6245831ac6bf4d81ba9c889ec371288b2 (patch)
tree4086fcde8fb66d52fe632b140563739b11efe928 /html-gen.sh
parent45b058329a47532a508d7f29f78422f21fb95b1f (diff)
it seems some version of mktemp create file with mode 600, this is a quickfix for affected systems
Diffstat (limited to 'html-gen.sh')
-rw-r--r--html-gen.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/html-gen.sh b/html-gen.sh
index 73c712f..2d1ba6b 100644
--- a/html-gen.sh
+++ b/html-gen.sh
@@ -394,6 +394,7 @@ if [ $modification -gt 0 ]; then
echo -n "[fugitive] Using last published article as index page... "
cp "$public_dir/`head -1 $articles_sorted`.html" "$public_dir/index.html"
echo "done".
+ chmod 644 _public/*.html _public/*.xml
echo "[fugitive] Blog update complete."
fi
rm "$articles_sorted"