From 788a563824f769ab8fc048ce8cae43fd3b567501 Mon Sep 17 00:00:00 2001 From: helge Date: Sat, 20 Aug 2005 23:29:47 +0000 Subject: [PATCH] work on pkg builder git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1056 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- maintenance/make-osxpkg.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/maintenance/make-osxpkg.sh b/maintenance/make-osxpkg.sh index f7d1e1de..9242cd98 100755 --- a/maintenance/make-osxpkg.sh +++ b/maintenance/make-osxpkg.sh @@ -269,8 +269,11 @@ function genInfoFile() { echo >$F "Title ${PKG_NAME}" echo >>$F "Version ${PKG_VERSION}" echo >>$F "Description ${PKG_VERSION}" + echo >>$F "Require Reboot NO" # TODO: consolidate echo >>$F "OverwritePermissions NO" # TODO: consolidate + echo >>$F "UseUserMask NO" # TODO: consolidate + echo >>$F "RootVolumeOnly NO" # TODO: consolidate echo >>$F "NeedsAuthorization YES" # TODO: consolidate echo >>$F "DefaultLocation /" # TODO: consolidate echo >>$F "Relocatable YES" # TODO: consolidate @@ -280,6 +283,21 @@ function genInfoFile() { echo ".. done." } +function genPkgInfoFile() { + F="${PKG_DIR}/Contents/PkgInfo" + echo -n " gen PkgInfo: $F .." + echo >$F "pmkrpkg1" + echo ".. done." +} + +function genPkgVersionFile() { + F="${PKG_RSRC_DIR}/package_version" + echo -n " gen package_version: $F .." + echo >$F "major: 4" + echo >>$F "minor: 5" + echo ".. done." +} + # ****************************** resources **************************** @@ -336,6 +354,8 @@ genInfoPList; genInfoFile; genBundleVersions; genEnDescription; +genPkgInfoFile; +genPkgVersionFile; copyBackgroundImage; copyLicenseFile; -- 2.39.5