@@ -2,14 +2,9 @@
2# This script (when run with root permissions) uninstalls
2# This script (when run with root permissions) uninstalls
3# everything installed by the Pandoc Mac OS X installer.
3# everything installed by the Pandoc Mac OS X installer.
5−[ -f /usr/local/bin/pandoc ] || {
6− echo "Pandoc does not appear to be installed."; \
10if [ "`id -u`" != 0 ]; then \
5if [ "`id -u`" != 0 ]; then \
11 echo "This script must be run with sudo."; \
6 echo "This script must be run with sudo."; \
12− exit 0; \
7+ exit 1; \
15MAN_PAGES="pandoc.1 markdown2html.1 markdown2latex.1 html2markdown.1 latex2markdown.1 markdown2pdf.1"
10MAN_PAGES="pandoc.1 markdown2html.1 markdown2latex.1 html2markdown.1 latex2markdown.1 markdown2pdf.1"