diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-11-01 15:54:11 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2006-11-01 15:54:11 +0000 |
commit | 5044c1ffad381432d9a2925693fbcfe70f00e2a5 (patch) | |
tree | 3bb409f0666836a1820d5803aeb2d59e774cacdf /osx/uninstall-pandoc | |
parent | e4785513824af4bb9d0c00b79f414339dd6c6080 (diff) | |
download | pandoc-5044c1ffad381432d9a2925693fbcfe70f00e2a5.tar.gz |
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
Diffstat (limited to 'osx/uninstall-pandoc')
-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" |