]> git.phdru.name Git - phdru.name/phdru.name.git/blobdiff - dotfiles2html/dotfiles2html.py
whereis => which
[phdru.name/phdru.name.git] / dotfiles2html / dotfiles2html.py
index b463f4e4bdfc8b1a736faa2823f718618b1e3c21..c543ba93ff7e316d2d641620e527cf5fd77eac56 100755 (executable)
@@ -87,11 +87,11 @@ def process_dotfile(i, fname, ftype, file_types):
       text = text.replace('mplayerer', 'mplayer')
       if fname == 'mailcap':
          text = text.replace(
-            '-a -n "`whereis smplayer`" -a -n "`whereis smplayer`"',
-            '-a -n "`whereis smplayer`"')
+            '-a -n "`which smplayer`" -a -n "`which smplayer`"',
+            '-a -n "`which smplayer`"')
          text = text.replace(
-            '-a -n "`whereis mplayer`" -a -n "`whereis mplayer`"',
-            '-a -n "`whereis mplayer`"')
+            '-a -n "`which mplayer`" -a -n "`which mplayer`"',
+            '-a -n "`which mplayer`"')
       file.write(text)
       file.close()