From 5044c1ffad381432d9a2925693fbcfe70f00e2a5 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Wed, 1 Nov 2006 15:54:11 +0000 Subject: Removed check for presence of pandoc in uninstall-pandoc; if uninstall-pandoc is present, that means Pandoc is installed. git-svn-id: https://pandoc.googlecode.com/svn/trunk@64 788f1e2b-df1e-0410-8736-df70ead52e1b --- osx/uninstall-pandoc | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'osx') diff --git a/osx/uninstall-pandoc b/osx/uninstall-pandoc index 57b8f9e65..0e759ed0d 100755 --- a/osx/uninstall-pandoc +++ b/osx/uninstall-pandoc @@ -2,14 +2,9 @@ # This script (when run with root permissions) uninstalls # everything installed by the Pandoc Mac OS X installer. -[ -f /usr/local/bin/pandoc ] || { - echo "Pandoc does not appear to be installed."; \ - exit 0; -} - if [ "`id -u`" != 0 ]; then \ echo "This script must be run with sudo."; \ - exit 0; \ + exit 1; \ fi MAN_PAGES="pandoc.1 markdown2html.1 markdown2latex.1 html2markdown.1 latex2markdown.1 markdown2pdf.1" -- cgit v1.2.3