Travis, great job, script works very well!
..Thank you, the complement is very much appreciated, especially from such an accomplished scripter / coder as yourself! (..most everything I know of bash scripting I have learned by reading scripts written by community members such as yourself!)
wrt OpenOffice repo: please do not include or maintain it in the list. This repo is only needed to install or add another OO-language and we have GOO to do this job. Tex specifically asked to disable it after a manual install of OO, plus it might be moved to a different location in the future, etc. GOO will deal with all these things.
That was my understanding, but I figured you would find your way here eventually and verify!
In addition, if more than one repo is enabled both, GOO and addlocale will complain about an incorrect repo setup and will quit, meaning they can not be used when the OO-repo is enabled.
Perhaps when I get this thing packaged up and to the repo it can be utilized by GOO / addlocale to fix such problematic configurations ??
Now that I have the most challenging part of the synaptic-repair script re-written to use the zenity GUI, I am trying to decide if I should do the same with synaptic-repair.. the one disadvantage I see to doing this, is that sometimes with a borked install the repair needs to be done from a console boot.
I'm sure with a little time and effort I could create a set of functions similar to the yorn function (..yes or no) that I borrowed from mkrepo for the non-gui synaptic-repair script, that would also emulate various other zenity dialogs. Then it would just be a matter of detecting if the user was in a console or X session (..or maybe zenity is smart enough to handle this; I haven't tried it).
And me too, I prefer the percentage version
..getting the percentage to work properly with zenity has always been a challenge (mostly because zenity eats any variable set while the progress meter is running). In working on this script I learned a few things that are not well documented in most of the zenity resources that I have seen. I think I may try and document this more in my thread on GUI dialogs for bash / shell scripting
, so I (and others) can refer to it in the future.