mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Check for Mac::Finder::DSStore in scripts/osx-dmg.sh and spit
out a warning + url if it does not exist. Originally committed to SVN as r2584.
This commit is contained in:
parent
faa58f80f2
commit
b262b3016b
@ -21,6 +21,13 @@ if ! test -d "${PKG_DIR}"; then
|
|||||||
exit 1;
|
exit 1;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ! perl -e 'require Mac::Finder::DSStore' > /dev/null 2>&1; then
|
||||||
|
echo
|
||||||
|
echo "Perl Mac::Finder::DSStore is required to build a dmg."
|
||||||
|
echo "Please get it from http://freehg.org/u/wiml/dsstore/"
|
||||||
|
exit;
|
||||||
|
fi
|
||||||
|
|
||||||
rm -rf ${TMP_DMG} "${PKG_NAME}.dmg"
|
rm -rf ${TMP_DMG} "${PKG_NAME}.dmg"
|
||||||
mkdir -v ${TMP_DMG}
|
mkdir -v ${TMP_DMG}
|
||||||
echo
|
echo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user