diff options
Diffstat (limited to '.prefix/bin/x-pdf')
-rwxr-xr-x | .prefix/bin/x-pdf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.prefix/bin/x-pdf b/.prefix/bin/x-pdf new file mode 100755 index 0000000..020ff7e --- /dev/null +++ b/.prefix/bin/x-pdf @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ -x "`which okular 2>/dev/null`" ]; then + okular "$@" +if [ -x "`which evince 2>/dev/null`" ]; then + evince "$@" +elif [ -x "`which xpdf 2>/dev/null`" ]; then + xpdf "$@" +fi |