]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - dotfiles2html/dotfiles2html.py
Fix(dotfiles2html): Fix `mplayer`
[phdru.name/phdru.name.git] / dotfiles2html / dotfiles2html.py
index 7be4f5dd11ffdb7f55f1c6b1c236676c57e7fa56..a2805f432b7075e12a27a8c0eb0d1e8759c9a856 100755 (executable)
@@ -84,10 +84,9 @@ def process_dotfile(i, fname, ftype, file_types):
       text = file.read()
       file.close()
       file = open(fname, 'w')
+      text = text.replace('mplay', 'mplayer')
+      text = text.replace('mplayerer', 'mplayer')
       if fname == 'mailcap':
-         text = text.replace(
-            '-a -n "`which smplayer 2>/dev/null`" -a -n "`which smplayer 2>/dev/null`"',
-            '-a -n "`which smplayer 2>/dev/null`"')
          text = text.replace(
             '-a -n "`which mplayer 2>/dev/null`" -a -n "`which mplayer 2>/dev/null`"',
             '-a -n "`which mplayer 2>/dev/null`"')