From b14874fe1818ed5c965f12c4513658e29d7da47c Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Wed, 1 Nov 2006 08:29:13 +0000 Subject: Added uninstall-pandoc script to Mac OS X package. Added information about uninstalling to Welcome message. git-svn-id: https://pandoc.googlecode.com/svn/trunk@62 788f1e2b-df1e-0410-8736-df70ead52e1b --- osx/Welcome | 4 ++++ osx/uninstall-pandoc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'osx') diff --git a/osx/Welcome b/osx/Welcome index 61e145868..3acc7efd7 100644 --- a/osx/Welcome +++ b/osx/Welcome @@ -7,3 +7,7 @@ directory and open a new terminal window: export PATH=/usr/local/bin:$PATH export MANPATH=/usr/local/man:$MANPATH +To uninstall Pandoc at any time, use the following command: + + sudo /usr/local/bin/uninstall-pandoc + diff --git a/osx/uninstall-pandoc b/osx/uninstall-pandoc index 0ccf7990e..57b8f9e65 100755 --- a/osx/uninstall-pandoc +++ b/osx/uninstall-pandoc @@ -12,9 +12,9 @@ if [ "`id -u`" != 0 ]; then \ exit 0; \ fi - MAN_PAGES="pandoc.1 markdown2html.1 markdown2latex.1 html2markdown.1 latex2markdown.1 markdown2pdf.1" EXECUTABLES=`echo $MAN_PAGES | sed -e 's#\.1##g'` +EXECUTABLES="$EXECUTABLES uninstall-pandoc" DOCUMENTS="`ls /usr/local/share/doc/pandoc`" TOREMOVE="" for F in $EXECUTABLES; do -- cgit v1.2.3