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
commit5044c1ffad381432d9a2925693fbcfe70f00e2a5
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>
dateWed 1 Nov 2006, 15:54 (20 years ago)
parente478551
osx/uninstall-pandoc+1−6
@@ -2,14 +2,9 @@
22# This script (when run with root permissions) uninstalls
33# everything installed by the Pandoc Mac OS X installer.
44
5−[ -f /usr/local/bin/pandoc ] || {
6− echo "Pandoc does not appear to be installed."; \
7− exit 0;
8−}
9−
105if [ "`id -u`" != 0 ]; then \
116 echo "This script must be run with sudo."; \
12− exit 0; \
7+ exit 1; \
138fi
149
1510MAN_PAGES="pandoc.1 markdown2html.1 markdown2latex.1 html2markdown.1 latex2markdown.1 markdown2pdf.1"