OK, simply put, I would like to have in a POL script the ability to choose what arch the install will be for (32/64 bittedness).
My code snippet below just flat out doesn't work, nor did some of the more straightforward attempts. Is there a preferred way to handle this? And although an arch type of "auto" technically would work, there are some issues currently in most installs I have of 64 bit wine things, and would like to leave the option for the boring and unadventurous to just stick with 32 bit for sanity's sake. The code snippet follows my variable block for all the other stuff and the POL_SetupWindow_Init and POL_Debug_Init.
POL_SetupWindow_menu "Choose installation type" "$INSTALL_ARCH" "32-Bit~64-Bit" "~"
if [ "$INSTALL_ARCH" == "32-Bit" ]; then
if [ "$INSTALL_ARCH" == "64-Bit" ]; then
POL_System_SetArch = "$ARCH"
The obvious first start was to do the if statement and immediately set POL_System_SetArch to the appropriate choice. Didn't work. Always got 32 bit. Hell, I got so mad as to just set both to be amd64 to just see what would happen. Still got noped. I clearly am missing something, and would love it if someone could point out what I botched up here.
Edited by schotty