From: Oleg Broytman Date: Sat, 2 May 2020 22:03:07 +0000 (+0300) Subject: Fix(dotfiles2html): Fix `mplayer` X-Git-Url: https://git.phdru.name/?p=phdru.name%2Fphdru.name.git;a=commitdiff_plain;h=417ed8cb243c6b0d75f8ee3388021e9df04cac12 Fix(dotfiles2html): Fix `mplayer` --- 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`"',