-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the package installer clean up and call mktexlsr.
- Loading branch information
Showing
5 changed files
with
27 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ source IDs.sh | |
PKG_ID=9_4 | ||
VERSION=1.0 | ||
|
||
pkgbuild --root local_bin --scripts local_bin/scripts --identifier org.computop.SageMath.$PKG_ID.bin --version $VERSION --install-location /usr/local/bin bin.pkg | ||
pkgbuild --root local_bin --scripts local_bin/sage_install/scripts --identifier org.computop.SageMath.$PKG_ID.bin --version $VERSION --install-location /usr/local/bin bin.pkg | ||
productsign --sign $DEV_ID bin.pkg packages/SageMath_bin.pkg | ||
|
||
pkgbuild --root local_share --identifier org.computop.SageMath.$PKG_ID.share --version $VERSION --install-location /usr/local/share share.pkg | ||
|
@@ -18,7 +18,7 @@ productsign --sign $DEV_ID recommended.pkg Recommended_$PKG_ID.pkg | |
|
||
xcrun altool --notarize-app --primary-bundle-id "SageMath-$VERSION" --username "[email protected]" --password $ONE_TIME_PASS --file Recommended_$PKG_ID.pkg | ||
|
||
echo Waiting one minute ... | ||
sleep 60 | ||
echo Waiting 90 seconds ... | ||
sleep 90 | ||
|
||
xcrun stapler staple Recommended_$PKG_ID.pkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
SAGETEX_DIR=/usr/local/texlive/texmf-local/tex/latex/local | ||
|
||
# Run mktexlsr if SAGETEX_DIR changed in the last 10 minutes. | ||
if [ -e /Library/TeX/texbin/mktexlsr ] && [ `date -j -r $SAGETEX_DIR -v +10M +%s` -ge `date +%s` ]; then | ||
/Library/TeX/texbin/mktexlsr; | ||
fi | ||
|
||
# Remove the install scripts. | ||
rm -rf /usr/local/bin/sage_install |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters