]> err.no Git - sope/commitdiff
work on osx packaging
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 28 Sep 2005 19:05:22 +0000 (19:05 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 28 Sep 2005 19:05:22 +0000 (19:05 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1138 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

maintenance/make-osxdmg.sh
maintenance/make-osxpkg.sh

index 4768ca3ae68dad96ea1ff24eb65b727e9d4f34f7..dee527bdad6b45a62fcf558acd132f38e3fff6f8 100755 (executable)
@@ -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"
index 3a8a01362ed0b50ae47db4c9f53203db203f26ac..f62259d1f05e6cca77e2b1c984887198aa43ae99 100755 (executable)
@@ -259,7 +259,10 @@ function genBundleVersions() {
   echo >>$F "<plist version=\"1.0\">"
   echo >>$F "  <dict>"
   
-  # 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 "  </dict>"
   echo >>$F "</plist>"