mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-10 12:00:33 +03:00
Fix non-browsable 'games' due to " in slack-desc.
Thanks to slakmagik for this fix.
This commit is contained in:
parent
b599f398a3
commit
cb2dff127a
@ -1710,7 +1710,7 @@ gen_search_package() {
|
||||
if [[ $DIAG ]]; then
|
||||
for i in $RESULTS; do
|
||||
DESC=$(grep -hZm1 ^$(cut -d/ -f2 <<< "$i") ./$i/slack-desc* |
|
||||
sed 's/^[^(]*( *\(.*[^ ]\) *)[^)]*$/\1/')
|
||||
sed 's/^[^(]*( *\(.*[^ ]\) *)[^)]*$/\1/;s/"/'\''/g')
|
||||
if [[ $CATEGORY == '*' ]]; then
|
||||
NAME=$i
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user