Update for LyXBlogger detection.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36684 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-12-03 17:35:01 +00:00
parent bbbd0d6597
commit 69b228f9af

View File

@ -657,12 +657,11 @@ def checkConverterEntries():
else:
addToRC(r'''\copier html "python -tt $$s/scripts/ext_copy.py $$i $$o"''')
# Check if LyxBlogger is installed.
path, lyxblogger = checkProg('A LyX to WordPress Blog Publishing Tool',
['lyxblogger $$i'], rc_entry = [])
if lyxblogger.find('lyxblogger') >= 0:
addToRC(r'\Format blog blog "LyxBlogger" "" "" "" "document"')
addToRC(r'\converter xhtml blog "lyxblogger $$i" ""')
# Check if LyXBlogger is installed
lyxblogger_found = checkModule('lyxblogger')
if lyxblogger_found:
addToRC(r'\Format blog blog "LyXBlogger" "" "" "" "document"')
addToRC(r'\converter xhtml blog "python -m lyxblogger $$i" ""')
if elyxerfound:
addToRC(r'''\converter lyx wordhtml "python -m elyxer --html --directory $$r $$i $$o" ""''')