]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - reindex_blog_ru
Fix(phd.py): Change URL for Lurk
[phdru.name/phdru.name.git] / reindex_blog_ru
index ced40328256c9c266ada83e03547ce45f92c2c88..1109cdca9bd1ce5bfc0e8271af3c924cfc71443a 100755 (executable)
@@ -1,7 +1,12 @@
 #! /bin/sh
 
+umask 022
+
 LC_TIME=ru_RU.KOI8-R
 export LC_TIME
 
-cd ../htdocs/phd.pp.ru/Russian/blog && \
-exec ../../../../phd.pp.ru/reindex_blog.py ../../../../phd.pp.ru/index_ru "$@"
+cd "`dirname \"$0\"`" &&
+./remove_old_html.py &&
+
+cd ../htdocs/phdru.name &&
+exec ../../phdru.name/reindex_blog.py