Chameleon

Chameleon Commit Details

Date:2011-10-21 21:23:38 (12 years 5 months ago)
Author:blackosx
Commit:1645
Parents: 1644
Message:Add preinstall to slimpkg.sh
Changes:
M/branches/blackosx/package/buildpkg.sh
M/branches/blackosx/package/slimpkg.sh

File differences

branches/blackosx/package/slimpkg.sh
5353
5454
5555
56
57
58
59
60
61
62
63
64
65
66
67
68
69
5670
5771
5872
outline[$((outlinecount++))]="${indent[$xmlindent]}<choices-outline>"
# build pre install package
echo "================= Preinstall ================="
((xmlindent++))
packagesidentity="org.chameleon"
mkdir -p ${1}/Pre/Root
mkdir -p ${1}/Pre/Scripts
ditto --noextattr --noqtn ${1%/*/*}/revision ${1}/Pre/Scripts/Resources/revision
ditto --noextattr --noqtn ${1%/*/*}/version ${1}/Pre/Scripts/Resources/version
cp -f ${pkgroot}/Scripts/Main/preinstall ${1}/Pre/Scripts
cp -f ${pkgroot}/Scripts/Sub/InstallLog.sh ${1}/Pre/Scripts
echo "[BUILD] Pre "
buildpackage "${1}/Pre" "/" "" "start_visible=\"false\" start_selected=\"true\"" >/dev/null 2>&1
# End build pre install package
# build core package
echo "================= Core ================="
packagesidentity="org.chameleon"
branches/blackosx/package/buildpkg.sh
5454
5555
5656
57
58
5957
6058
6159
outline[$((outlinecount++))]="${indent[$xmlindent]}<choices-outline>"
# build pre install package
# This is run before any other package - so this could
# be a good place to initialise the install log???
echo "================= Preinstall ================="
((xmlindent++))
packagesidentity="org.chameleon"

Archive Download the corresponding diff file

Revision: 1645