summaryrefslogtreecommitdiff
path: root/.prefix/bin/x-pdf
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-03-28 20:58:24 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-03-28 20:58:24 -0400
commitad2c5c3d23c97ca776c4d9603dfc8d359b37a552 (patch)
tree145814cc33989e563e4297a156026c4d4f4dc2f0 /.prefix/bin/x-pdf
parentadbb5f8597288f3394cb7659474f420bad236ded (diff)
parentaa05f001d233e8b8db55ed276b5b8d32d048cd9e (diff)
Merge .prefix/bin/git into build64-par
Diffstat (limited to '.prefix/bin/x-pdf')
-rwxr-xr-x.prefix/bin/x-pdf9
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