tazcraft rev 9 tip
Remove ashism ==
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 27 17:55:03 2019 +0100 (2019-02-27) |
parents | e2ad8436c2dd |
children | |
files | tazcraft |
line diff
1.1 --- a/tazcraft Wed Mar 22 19:36:33 2017 +0100 1.2 +++ b/tazcraft Wed Feb 27 17:55:03 2019 +0100 1.3 @@ -78,7 +78,7 @@ 1.4 defaut_motd() { 1.5 if [ -f "$config" ]; then 1.6 motd=$(grep ^motd= ${config} | sed s'/motd=//') 1.7 - if [ "$motd" == "A Minecraft Server" ]; then 1.8 + if [ "$motd" = "A Minecraft Server" ]; then 1.9 sed -i s'#motd=.*#motd=\\u00A72A Tazcraft Server#' ${config} 1.10 fi 1.11 fi