wok-6.x diff slim/stuff/slim-theme @ rev 21824
syslinux/taziso: floppy by floppy fallback
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 10 09:01:01 2019 +0200 (2019-09-10) |
parents | 02c70d036ea0 |
children |
line diff
1.1 --- a/slim/stuff/slim-theme Tue Feb 26 09:14:07 2019 +0100 1.2 +++ b/slim/stuff/slim-theme Tue Sep 10 09:01:01 2019 +0200 1.3 @@ -44,7 +44,7 @@ 1.4 { 1.5 cd /usr/share/slim/themes 1.6 theme=$(ls -Ad $1 2>/dev/null | head -n1) 1.7 - [ x$theme = x ] && echo "Theme \"$1\" not exist!" >&2 && exit 1 1.8 + [ -z "$theme" ] && echo "Theme \"$1\" not exist!" >&2 && exit 1 1.9 echo $theme 1.10 } 1.11 i18n()