mirror of
https://github.com/sbopkg/sbopkg
synced 2025-01-19 10:26:56 +01:00
another bug in selection_state()
Sure seems like I tested this and it worked but I guess I focused on view_queue() and list_packages() at the wrong time. I knew remove_files() (via view_cache_dir()) had a quoted list since source names can include any kind of lunacy, unlike package names, but forgot to allow for it. So allow zero or more dquotes around LINE.
This commit is contained in:
parent
2429774709
commit
c8f0eb2f64
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ selection_state() {
|
|||
|
||||
sed -i 's/ON$/OFF/' $MENU_FILE
|
||||
while read LINE; do
|
||||
sed -i "/^$LINE /s/OFF$/ON/" $MENU_FILE
|
||||
sed -i "/^\"*$LINE\"* /s/OFF$/ON/" $MENU_FILE
|
||||
done < $SELECTION_FILE
|
||||
|
||||
if [[ $1 == reverse ]]; then
|
||||
|
|
Loading…
Reference in a new issue