Chameleon

Chameleon Commit Details

Date:2011-09-28 20:41:44 (12 years 6 months ago)
Author:blackosx
Commit:1585
Parents: 1584
Message:Fix issue with keylayout boot options building incorrectly, and also fix problem introduced with last commit for the install log.
Changes:
M/branches/blackosx/package/buildpkg.sh
M/branches/blackosx/package/Scripts/Main/Post/postinstall

File differences

branches/blackosx/package/Scripts/Main/Post/postinstall
153153
154154
155155
156
157
156158
157159
158160
......
173175
174176
175177
176
177
178178
179179
done
fi
"$scriptDir"InstallLog.sh "${dest_vol}" "LineBreak"
"$scriptDir"InstallLog.sh "${dest_vol}" "Post script complete"
# ---------------------------------------------
# Cleanup
echo "Removing $chamTemp file"
rm -rf "$chamTemp"
"$scriptDir"InstallLog.sh "${dest_vol}" "LineBreak"
"$scriptDir"InstallLog.sh "${dest_vol}" "Post script complete"
echo "Done..."
branches/blackosx/package/buildpkg.sh
246246
247247
248248
249
250
251
252
253
254
249255
250256
251257
# ------------------------------------------------------
availableOptions=()
availableOptions=($( find "${1%/sym/*}/Keymaps" -type f -depth 1 -name '*.lyt' | sed 's|.*/||;s|\.lyt||' ))
# add "KeyLayout=" infront of each string
for (( i = 0 ; i < ${#availableOptions[@]} ; i++ ))
do
availableOptions[i]=${availableOptions[i]}":KeyLayout="${availableOptions[i]}
done
# call buildbootoptions with 1 to indicate exclusive option wanted.
buildbootoptions "$1" "1" "keylayout"

Archive Download the corresponding diff file

Revision: 1585