{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf110
-{\fonttbl\f0\fswiss\fcharset77 Helvetica;\f1\fnil\fcharset77 Monaco;}
+{\fonttbl\f0\fswiss\fcharset77 Helvetica;\f1\fmodern\fcharset77 CourierNewPSMT;\f2\fmodern\fcharset77 CourierNewPS-BoldMT;
+}
{\colortbl;\red255\green255\blue255;}
\paperw11900\paperh16840\margl1440\margr1440\vieww10180\viewh18520\viewkind0
\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\ql\qnatural\pardirnatural
-\f0\fs24 \cf0 Copyright SKYRIX Software AG, Helge He\'a7, Marcus M\'9fller and Contributors\
+\f0\fs24 \cf0 Copyright SKYRIX Software AG, Helge He\'a7, Marcus M\'9fller and Contributors.\
\
-\f1\fs18 GNU LIBRARY GENERAL PUBLIC LICENSE\
- Version 2, June 1991\
+\f1\fs22
+\f2\b GNU LIBRARY GENERAL PUBLIC LICENSE
+\f1\b0 \
+
+\f2\b Version 2, June 1991
+\f1\b0 \
\
Copyright (C) 1991 Free Software Foundation, Inc.\
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA\
PLIST_DT_LOC="http://www.apple.com/DTDs/PropertyList-1.0.dtd"
INSTALLER_FORMAT_KEY="0.10000000149011612"
-BACKGROUND_TIFF="../maintenance/package_background.tiff"
+BACKGROUND_TIFF="../maintenance/package-background.tiff"
LICENSE_FILE="../maintenance/License.rtf"
WELCOME_FILE="../maintenance/Welcome.rtf"
MKDIRS="mkdirhier"
+CHMOD="chmod"
+CHOWN="chown"
+CHGRP="chgrp"
+SUDO="sudo"
+RM_R="rm -r"
# ****************************** usage ********************************
function prepareTmpDirs() {
if test -d $PKG_BUILD_DIR; then
echo -n " deleting old builddir: $PKG_BUILD_DIR .."
- rm -r $PKG_BUILD_DIR
+ ${SUDO} ${RM_R} $PKG_BUILD_DIR
echo ".. done."
fi
echo ".. done: $PKG_BUILD_DIR."
}
+function fixUpPermissions() {
+ echo -n " fixing permissions in builddir (requires sudo) .."
+ ${SUDO} ${CHOWN} -R root "${ROOT_DIR}"
+ ${SUDO} ${CHGRP} -R admin "${ROOT_DIR}"
+ ${SUDO} ${CHMOD} -R 755 "${ROOT_DIR}"
+ ${SUDO} ${CHMOD} u+t "${ROOT_DIR}"
+ ${SUDO} ${CHMOD} u+t "${ROOT_DIR}/Library"
+ echo ".. done."
+}
+
function cleanupTmpDirs() {
if test -d $PKG_BUILD_DIR; then
echo -n " deleting builddir: $PKG_BUILD_DIR .."
validateArgs;
prepareTmpDirs;
-
installIntoTmpDirs;
+fixUpPermissions;
makePaxArchive;
generateBoM;