slitaz-forge diff boot/index.cgi @ rev 642
Small misc changes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 11 23:38:38 2017 +0100 (2017-02-11) |
parents | 1916a8e21160 |
children |
line diff
1.1 --- a/boot/index.cgi Mon Mar 19 14:25:25 2012 +0100 1.2 +++ b/boot/index.cgi Sat Feb 11 23:38:38 2017 +0100 1.3 @@ -3,8 +3,7 @@ 1.4 # 1.5 1.6 IFS="," 1.7 -for lang in $HTTP_ACCEPT_LANGUAGE 1.8 -do 1.9 +for lang in $HTTP_ACCEPT_LANGUAGE; do 1.10 lang=${lang%;*} lang=${lang# } lang=${lang%-*} 1.11 [ -d "$lang" ] && break 1.12 done