mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-16 07:47:55 +01:00
Mirror of https://github.com/sbopkg/sbopkg
511ef6f26f
- remove_files(): this had an 'Invert all' button which didn't entirely work, as it simply toggled all on/off rather than reflecting selection state (it was more 'Select/Deselect All'). By changing the order of the buttons and using selection_state(), it now can now 'Invert Sel'ections. The button order had to be juggled because dialog only outputs a list on 0/3. So now it asks to delete and defaults to Cancel with '--defaultno' rather than asking to keep and defaulting to OK. Also cleaned up the dialog invocation in general and cleaned up the sed/redirect creation of $FILES_CHECKLIST. Also changed the 'ERROR' title for not finding anything to 'NOTICE' since it's not an error to, e.g., not have any obsolete sources. - reverse_choices(): deleted since it was no longer used. - remove_obsolete_sources(), browse_categories(): similar sed cleanups as above. - selection_state(): clarified comments, remembered to add LINE as a local var, and anchored a regex whose $ got lost. |
||
---|---|---|
src | ||
tools |