mirror of
https://git.ludikovsky.name/git/fugitive.git
synced 2024-10-05 15:35:29 +02:00
it seems some version of mktemp create file with mode 600, this is a quickfix for affected systems
This commit is contained in:
parent
45b058329a
commit
a5d97dc624
|
@ -394,6 +394,7 @@ if [ $modification -gt 0 ]; then
|
||||||
echo -n "[fugitive] Using last published article as index page... "
|
echo -n "[fugitive] Using last published article as index page... "
|
||||||
cp "$public_dir/`head -1 $articles_sorted`.html" "$public_dir/index.html"
|
cp "$public_dir/`head -1 $articles_sorted`.html" "$public_dir/index.html"
|
||||||
echo "done".
|
echo "done".
|
||||||
|
chmod 644 _public/*.html _public/*.xml
|
||||||
echo "[fugitive] Blog update complete."
|
echo "[fugitive] Blog update complete."
|
||||||
fi
|
fi
|
||||||
rm "$articles_sorted"
|
rm "$articles_sorted"
|
||||||
|
|
Loading…
Reference in a new issue