From 417ed8cb243c6b0d75f8ee3388021e9df04cac12 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 3 May 2020 01:03:07 +0300 Subject: [PATCH] Fix(dotfiles2html): Fix `mplayer` --- dotfiles2html/dotfiles2html.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotfiles2html/dotfiles2html.py b/dotfiles2html/dotfiles2html.py index 344a5ee..a2805f4 100755 --- a/dotfiles2html/dotfiles2html.py +++ b/dotfiles2html/dotfiles2html.py @@ -84,6 +84,8 @@ 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 mplayer 2>/dev/null`" -a -n "`which mplayer 2>/dev/null`"', -- 2.39.5