From: helge Date: Sat, 20 Aug 2005 23:29:47 +0000 (+0000) Subject: work on pkg builder X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=788a563824f769ab8fc048ce8cae43fd3b567501;p=sope work on pkg builder git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1056 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- 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;