From f861f42408a5ffbf7e848b5d704cb706c4609059 Mon Sep 17 00:00:00 2001 From: helge Date: Wed, 28 Sep 2005 19:05:22 +0000 Subject: [PATCH] work on osx packaging git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1138 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- maintenance/make-osxdmg.sh | 3 +++ maintenance/make-osxpkg.sh | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/maintenance/make-osxdmg.sh b/maintenance/make-osxdmg.sh index 4768ca3a..dee527bd 100755 --- a/maintenance/make-osxdmg.sh +++ b/maintenance/make-osxdmg.sh @@ -113,3 +113,6 @@ ejectDisk; REL_DMG="${DMG_NAME}-release.dmg" convertToReadOnlyCompressedImage "${DMG_NAME}.dmg" "${REL_DMG}" internetEnableDiskImage "${REL_DMG}" + +# delete src image +rm -f "${DMG_NAME}.dmg" diff --git a/maintenance/make-osxpkg.sh b/maintenance/make-osxpkg.sh index 3a8a0136..f62259d1 100755 --- a/maintenance/make-osxpkg.sh +++ b/maintenance/make-osxpkg.sh @@ -259,7 +259,10 @@ function genBundleVersions() { echo >>$F "" echo >>$F " " - # TODO: generate framework versions (scan for .framework/../Version files) + + # this makes reinstalls fail w/o any information (in Tiger) + # TODO: => no, doesn't seem to change anything + if test "x$WORKING_BUNDLE_VERSIONS" = "xyes"; then frameworks=`find "${ROOT_DIR}" -type d -name "*.framework"` for frameworkpath in $frameworks; do frameworkvfile="`find $frameworkpath -type f -name Version | head -n 1`" @@ -281,6 +284,7 @@ function genBundleVersions() { echo " Note: no Version file in framework `basename $frameworkpath`" fi done + fi echo >>$F " " echo >>$F "" -- 2.39.5