slitaz-tools diff tinyutils/tazx @ rev 1006
Update translations.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 19 23:26:17 2016 +0200 (2016-11-19) |
parents | 53c750021d6d |
children | c187e3d49df6 |
line diff
1.1 --- a/tinyutils/tazx Mon May 23 23:25:04 2016 +0300 1.2 +++ b/tinyutils/tazx Sat Nov 19 23:26:17 2016 +0200 1.3 @@ -92,7 +92,7 @@ 1.4 fgrep -o ',') in 1.5 '') 1.6 for CFG in $(find $CFG_LXPANEL -type f -name panel); do 1.7 - if [ -n "$(grep 'type = xkb' $CFG)" ]; then 1.8 + if [ -n "$(grep 'type *= *xkb' $CFG)" ]; then 1.9 echo "Remove xkb applet from $CFG" 1.10 sed -i "$(grep -n -e "^Plugin {" -e "^}" -e "xkb" \ 1.11 $CFG | grep -C 1 xkb | grep -v xkb | cut -d: \ 1.12 @@ -101,7 +101,7 @@ 1.13 done ;; 1.14 ',') 1.15 for CFG in $(find $CFG_LXPANEL -type f -name panel); do 1.16 - if [ -z "$(grep 'type = xkb' $CFG)" ]; then 1.17 + if [ -z "$(grep 'type *= *xkb' $CFG)" ]; then 1.18 echo "Add xkb applet to $CFG" 1.19 XKB='Plugin {\ 1.20 type = xkb\