cleaner fix

This commit is contained in:
p4bl0 2012-03-05 17:41:55 +01:00
parent a5d97dc624
commit e990681b57
1 changed files with 1 additions and 1 deletions

View File

@ -363,6 +363,7 @@ done
if [ $modification -gt 0 ]; then
temp=`mktemp fugitiveXXXXXX`
chmod a+r "$temp"
echo -n "[fugitive] Generating $public_dir/archives.html... "
cat "$templates_dir/archives.html" | \
replace_includes | \
@ -394,7 +395,6 @@ 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"