Index: branches/scrax/trunk/package/buildpkg =================================================================== --- branches/scrax/trunk/package/buildpkg (revision 159) +++ branches/scrax/trunk/package/buildpkg (revision 160) @@ -161,9 +161,11 @@ outline[$((outlinecount++))]="${indent[$xmlindent]}\t" choices[$((choicescount++))]="\n\n" ((xmlindent++)) + + # build base options packages packagesidentity="org.chameleon" - options=($( find "${pkgroot}/Scripts/Options" -type d -depth 1 -not -name '.svn' )) + options=($( find "${pkgroot}/Scripts/BaseOptions" -type d -depth 1 -not -name '.svn' )) for (( i = 0 ; i < ${#options[@]} ; i++ )) do mkdir -p "${1}/${options[$i]##*/}/Root" @@ -172,6 +174,26 @@ echo "Building ${options[$i]##*/} package" buildpackage "${1}/${options[$i]##*/}" "/" "" "start_selected=\"false\"" done + # End build base options packages + + # build resolution packages + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + choices[$((choicescount++))]="\n\n" + ((xmlindent++)) + packagesidentity="org.chameleon.resolution" + resolutions=($( find "${pkgroot}/Scripts/Resolutions" -type d -depth 1 -not -name '.svn' )) + for (( i = 0 ; i < ${#resolutions[@]} ; i++ )) + do + mkdir -p "${1}/${resolutions[$i]##*/}/Root/" + mkdir -p "${1}/${resolutions[$i]##*/}/Scripts/" + ditto --noextattr --noqtn "${resolutions[$i]}/postinstall" "${1}/${resolutions[$i]##*/}/Scripts/postinstall" + echo "Building ${resolutions[$i]##*/} package" + buildpackage "${1}/${resolutions[$i]##*/}" "/" "" "start_selected=\"false\"" + done + + ((xmlindent--)) + outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + # End build resolution packages # build Advanced packages outline[$((outlinecount++))]="${indent[$xmlindent]}\t" @@ -192,30 +214,12 @@ ((xmlindent--)) outline[$((outlinecount++))]="${indent[$xmlindent]}\t" # End build Advanced packages - + ((xmlindent--)) outline[$((outlinecount++))]="${indent[$xmlindent]}\t" + # End build options packages - # build resolution packages - outline[$((outlinecount++))]="${indent[$xmlindent]}\t" - choices[$((choicescount++))]="\n\n" - ((xmlindent++)) - packagesidentity="org.chameleon.resolution" - resolutions=($( find "${pkgroot}/Scripts/Resolutions" -type d -depth 1 -not -name '.svn' )) - for (( i = 0 ; i < ${#resolutions[@]} ; i++ )) - do - mkdir -p "${1}/${resolutions[$i]##*/}/Root/" - mkdir -p "${1}/${resolutions[$i]##*/}/Scripts/" - ditto --noextattr --noqtn "${resolutions[$i]}/postinstall" "${1}/${resolutions[$i]##*/}/Scripts/postinstall" - echo "Building ${resolutions[$i]##*/} package" - buildpackage "${1}/${resolutions[$i]##*/}" "/" "" "start_selected=\"false\"" - done - - ((xmlindent--)) - outline[$((outlinecount++))]="${indent[$xmlindent]}\t" - # End build resolution packages - # build theme packages outline[$((outlinecount++))]="${indent[$xmlindent]}\t" choices[$((choicescount++))]="\n\n" Index: branches/iFabio/Test/package/Resources/Italian.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: branches/iFabio/Test/package/Resources/English.lproj/Localizable.strings =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream