osx package: Include uninstall script in zip file.

Don't put it in $PREFIX/bin as before.
This commit is contained in:
John MacFarlane 2014-05-14 13:39:31 -07:00
parent 60b8b85040
commit 034cd4bb21

View file

@ -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" \