tazpanel diff hosts.cgi @ rev 627

Fix boot & hardware title
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 06 15:03:14 2019 +0200 (2019-07-06)
parents 26f60e49e3d5
children 9f6e7841d19c
line diff
     1.1 --- a/hosts.cgi	Sun Jul 23 13:53:37 2017 +0200
     1.2 +++ b/hosts.cgi	Sat Jul 06 15:03:14 2019 +0200
     1.3 @@ -258,8 +258,8 @@
     1.4  	<td>$name</td>
     1.5  	<td><a data-icon="@info@" target="_blank" rel="noopener" href="$info">$(_ 'info')</a></td>
     1.6  	<td>
     1.7 -		$([ "$updated" == 'monthly'   ] && _ 'Updated monthly')
     1.8 -		$([ "$updated" == 'regularly' ] && _ 'Updated regularly')
     1.9 +		$([ "$updated" = 'monthly'   ] && _ 'Updated monthly')
    1.10 +		$([ "$updated" = 'regularly' ] && _ 'Updated regularly')
    1.11  	</td>
    1.12  	<td>
    1.13  EOT
    1.14 @@ -285,7 +285,7 @@
    1.15  			check='yes'
    1.16  		fi
    1.17  
    1.18 -		if [ "$check" == 'yes' ]; then
    1.19 +		if [ "$check" = 'yes' ]; then
    1.20  			# Check for update (not really download)
    1.21  			busybox wget -s --header "If-Modified-Since: $(date -Rur "$HOSTSDIR/$letter")" "$url"
    1.22  			if [ "$?" -eq 0 ]; then