osx package: Include uninstall script in zip file.
Don't put it in $PREFIX/bin as before.
This commit is contained in:
parent
60b8b85040
commit
034cd4bb21
1 changed files with 1 additions and 2 deletions
|
@ -40,7 +40,6 @@ for f in $EXES; do
|
||||||
cp $SANDBOX/share/man/man1/$f.1 $DEST/share/man/man1/
|
cp $SANDBOX/share/man/man1/$f.1 $DEST/share/man/man1/
|
||||||
done
|
done
|
||||||
cp $SANDBOX/share/man/man5/pandoc_markdown.5 $DEST/share/man/man5/
|
cp $SANDBOX/share/man/man5/pandoc_markdown.5 $DEST/share/man/man5/
|
||||||
cp $OSX/uninstall-pandoc.pl $DEST/bin/
|
|
||||||
|
|
||||||
chown -R $ME:staff $DIST
|
chown -R $ME:staff $DIST
|
||||||
# gzip $DEST/share/man/man?/*.*
|
# gzip $DEST/share/man/man?/*.*
|
||||||
|
@ -77,7 +76,7 @@ sudo codesign --force --sign "$CODESIGNID" $BASE.pkg
|
||||||
spctl --assess --type install $BASE.pkg
|
spctl --assess --type install $BASE.pkg
|
||||||
|
|
||||||
echo Creating zip...
|
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...
|
# echo Creating disk image...
|
||||||
# sudo hdiutil create "$BASE.dmg" \
|
# sudo hdiutil create "$BASE.dmg" \
|
||||||
|
|
Loading…
Reference in a new issue