From aa05f001d233e8b8db55ed276b5b8d32d048cd9e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 28 Mar 2012 20:56:25 -0400 Subject: move `/' to `/.prefix/bin/' --- .prefix/bin/x-pdf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 .prefix/bin/x-pdf (limited to '.prefix/bin/x-pdf') 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 -- cgit v1.2.3-54-g00ecf From 86815ce06c9263d033264196f6292319c1f8b695 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 11 Apr 2012 22:30:46 -0400 Subject: fix a typo in x-pdf --- .prefix/bin/x-pdf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.prefix/bin/x-pdf') diff --git a/.prefix/bin/x-pdf b/.prefix/bin/x-pdf index 020ff7e..a9893c0 100755 --- a/.prefix/bin/x-pdf +++ b/.prefix/bin/x-pdf @@ -2,7 +2,7 @@ if [ -x "`which okular 2>/dev/null`" ]; then okular "$@" -if [ -x "`which evince 2>/dev/null`" ]; then +elif [ -x "`which evince 2>/dev/null`" ]; then evince "$@" elif [ -x "`which xpdf 2>/dev/null`" ]; then xpdf "$@" -- cgit v1.2.3-54-g00ecf