mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-10 03:50:33 +03:00
Fix wrong regex in uncheck_installed().
The old regex turned ON into ONOFF. Dialog apparently treats that as an OFF, so overall the code appeared to work fine. Neverthess, this is worth a fix. Spotted by slakmagik. Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
This commit is contained in:
parent
9641686690
commit
d3a02809ea
@ -3,6 +3,8 @@ Sbopkg 0.XX.X released. This version contains the following fixes and
|
||||
enhancements:
|
||||
|
||||
* Fix typo in 50-default renames file.
|
||||
* Fix the "Uncheck installed" feature. The code apparently worked fine even
|
||||
without the fix. Spotted by slakmagik.
|
||||
* Add $ARCH information in dialog backtitles.
|
||||
* Add ":force" to sbopkg.conf WGETFLAGS --progress=bar to correctly
|
||||
display the wget progress bar; thanks to happyslacker for nudging me on
|
||||
|
@ -1953,7 +1953,7 @@ uncheck_installed() {
|
||||
|
||||
local QUEUEFILE=$1
|
||||
|
||||
sed -i 's:^\([^ ]* .*Installed.*\)[^ ]*$:\1OFF:' $QUEUEFILE
|
||||
sed -i 's:^\([^ ]* .*Installed.* \)[^ ]\+$:\1OFF:' $QUEUEFILE
|
||||
}
|
||||
|
||||
view_queue() {
|
||||
|
Loading…
Reference in New Issue
Block a user