From 13592e7fc6f88b8dc0cd01d5ee069329d63caf60 Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Thu, 1 Dec 2005 05:19:49 +0000 Subject: [PATCH] STABLE14-macos-103-packaging-20051201 fix packaging script for 10.3 (cherry picked from commit 72e221c0c164557d4eac98d982370ca925085f96) --- src/packaging/MacOS/buildpkg.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/packaging/MacOS/buildpkg.sh b/src/packaging/MacOS/buildpkg.sh index 817f1ff358..92409416f9 100644 --- a/src/packaging/MacOS/buildpkg.sh +++ b/src/packaging/MacOS/buildpkg.sh @@ -135,10 +135,13 @@ if [ $majorvers -ge 7 ]; then cp OpenAFS.post_install $PKGRES/postinstall cp OpenAFS.pre_upgrade $PKGRES/preupgrade cp OpenAFS.post_install $PKGRES/postupgrade - cp InstallationCheck $PKGRES - mkdir $PKGRES/English.lproj - cp InstallationCheck $PKGRES/English.lproj - chmod a+x $PKGRES/postinstall $PKGRES/postupgrade $PKGRES/preupgrade $PKGRES/InstallationCheck + if [ $majorvers -ge 8 ]; then + cp InstallationCheck $PKGRES + mkdir $PKGRES/English.lproj + cp InstallationCheck $PKGRES/English.lproj + chmod a+x $PKGRES/InstallationCheck + fi + chmod a+x $PKGRES/postinstall $PKGRES/postupgrade $PKGRES/preupgrade else cp OpenAFS.post_install OpenAFS.pre_upgrade $PKGRES cp OpenAFS.post_install $PKGRES/OpenAFS.post_upgrade