aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2014-05-14 13:39:31 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2014-05-14 13:39:31 -0700
commit034cd4bb214a30de3739c756eab428d5fbe617cc (patch)
tree10e13e8e5a4e78a5d7148fb5bfcadb7b0f94811f
parent60b8b850405c201533ea591eb620fc6abb85b9a5 (diff)
downloadpandoc-034cd4bb214a30de3739c756eab428d5fbe617cc.tar.gz
osx package: Include uninstall script in zip file.
Don't put it in $PREFIX/bin as before.
-rwxr-xr-xmake_osx_package.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/make_osx_package.sh b/make_osx_package.sh
index 86ce784ed..f546396b7 100755
--- a/make_osx_package.sh
+++ b/make_osx_package.sh
@@ -40,7 +40,6 @@ for f in $EXES; do
cp $SANDBOX/share/man/man1/$f.1 $DEST/share/man/man1/
done
cp $SANDBOX/share/man/man5/pandoc_markdown.5 $DEST/share/man/man5/
-cp $OSX/uninstall-pandoc.pl $DEST/bin/
chown -R $ME:staff $DIST
# gzip $DEST/share/man/man?/*.*
@@ -77,7 +76,7 @@ sudo codesign --force --sign "$CODESIGNID" $BASE.pkg
spctl --assess --type install $BASE.pkg
echo Creating zip...
-zip -9 -r $BASE.pkg.zip $BASE.pkg
+zip -9 -j -r $BASE.pkg.zip $BASE.pkg $OSX/uninstall-pandoc.pl
# echo Creating disk image...
# sudo hdiutil create "$BASE.dmg" \