]> git.phdru.name Git - phdru.name/phdru.name.git/commitdiff
Fix(dotfiles2html.py): Process `mx.ext.ini` master
authorOleg Broytman <phd@phdru.name>
Wed, 14 Jan 2026 19:59:45 +0000 (22:59 +0300)
committerOleg Broytman <phd@phdru.name>
Wed, 14 Jan 2026 19:59:45 +0000 (22:59 +0300)
dotfiles2html/dotfiles2html.py

index e4c96ec03ce29085a4849648961e5a2f21d46ce2..7cee9ee6e2b8acd5042e710fabdc3793f44b4f9e 100755 (executable)
@@ -21,7 +21,7 @@ home_file_types = (
      ("gitconfig", "gitconfig"), ("vimrc", "vim"),
 )
 
-mc_file_types = (("mc.ext", "conf"), ("mc.ext.i", "conf"), ("menu", "conf"))
+mc_file_types = (("mc.ext", "conf"), ("mc.ext.ini", "conf"), ("menu", "conf"))
 
 python_file_types = (
     ("init.py", "python"),
@@ -136,11 +136,6 @@ def process_files(file_types):
         if not os.path.exists(fname):
             continue
 
-        if fname == 'mc.ext.i' and not os.path.exists('mc.ext.ini'):
-            os.rename('mc.ext.i', 'mc.ext.ini')
-        if fname == 'mc.ext.i':
-            fname = 'mc.ext.ini'
-
         process_dotfile(i, fname, ftype, file_types)