␉␉outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Options\">"␊ |
␉␉choices[$((choicescount++))]="<choice\n\tid=\"Options\"\n\ttitle=\"Options_title\"\n\tdescription=\"Options_description\"\n>\n</choice>\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"␊ |
|
␉␉␉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<line choice=\"Resolution\">"␊ |
␉␉␉choices[$((choicescount++))]="<choice\n\tid=\"Resolution\"\n\ttitle=\"Resolution_title\"\n\tdescription=\"Resolution_description\"\n>\n</choice>\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</line>"␊ |
␉␉# End build resolution packages␊ |
␉␊ |
␉␉# build Advanced packages␊ |
␉␉␉outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Advanced\">"␊ |
|
␉␉␉((xmlindent--))␊ |
␉␉␉outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"␊ |
␉␉# End build Advanced packages␊ |
␉␉␊ |
␊ |
␉␉((xmlindent--))␊ |
␉␉outline[$((outlinecount++))]="${indent[$xmlindent]}\t</line>"␊ |
␊ |
␉# End build options packages␊ |
␉␊ |
␉# build resolution packages␊ |
␉␉outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Resolution\">"␊ |
␉␉choices[$((choicescount++))]="<choice\n\tid=\"Resolution\"\n\ttitle=\"Resolution_title\"\n\tdescription=\"Resolution_description\"\n>\n</choice>\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</line>"␊ |
␉# End build resolution packages␊ |
␊ |
␉# build theme packages␊ |
␉␉outline[$((outlinecount++))]="${indent[$xmlindent]}\t<line choice=\"Themes\">"␊ |
␉␉choices[$((choicescount++))]="<choice\n\tid=\"Themes\"\n\ttitle=\"Themes_title\"\n\tdescription=\"Themes_description\"\n>\n</choice>\n"␊ |