diff options
Diffstat (limited to 'osx')
-rwxr-xr-x | osx/uninstall-pandoc | 7 |
1 files changed, 1 insertions, 6 deletions
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" |