mirror of
https://github.com/sbopkg/sbopkg
synced 2025-02-06 08:45:52 +01: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
1 changed files with 1 additions and 1 deletions
|
@ -1710,7 +1710,7 @@ gen_search_package() {
|
||||||
if [[ $DIAG ]]; then
|
if [[ $DIAG ]]; then
|
||||||
for i in $RESULTS; do
|
for i in $RESULTS; do
|
||||||
DESC=$(grep -hZm1 ^$(cut -d/ -f2 <<< "$i") ./$i/slack-desc* |
|
DESC=$(grep -hZm1 ^$(cut -d/ -f2 <<< "$i") ./$i/slack-desc* |
|
||||||
sed 's/^[^(]*( *\(.*[^ ]\) *)[^)]*$/\1/')
|
sed 's/^[^(]*( *\(.*[^ ]\) *)[^)]*$/\1/;s/"/'\''/g')
|
||||||
if [[ $CATEGORY == '*' ]]; then
|
if [[ $CATEGORY == '*' ]]; then
|
||||||
NAME=$i
|
NAME=$i
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue