wok diff tramys/stuff/tramys @ rev 21800
guvcview: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 14:24:44 2019 +0200 (2019-08-10) |
parents | 02c70d036ea0 |
children |
line diff
1.1 --- a/tramys/stuff/tramys Tue Feb 26 09:14:07 2019 +0100 1.2 +++ b/tramys/stuff/tramys Sat Aug 10 14:24:44 2019 +0200 1.3 @@ -73,9 +73,9 @@ 1.4 for line in $(grep -e "^$P " $DATADIR/$list_type.list); do 1.5 locales=$(echo $line | cut -d' ' -f2) 1.6 names=$(echo $line | cut -d' ' -f3) 1.7 - [ "x$names" = "x" ] && names=$P 1.8 + [ -z "$names" ] && names=$P 1.9 pathes=$(echo $line | cut -d' ' -f4) 1.10 - [ "x$pathes" = "x" ] && pathes="$US/locale/%/$LC" 1.11 + [ -z "$pathes" ] && pathes="$US/locale/%/$LC" 1.12 1.13 IFS=' ' 1.14 for locale in $MY_LOCALES; do