tazusb rev 202

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 26 08:30:42 2019 +0100 (2019-02-26)
parents e9c96f617368
children 041b77fb080b
files tazusb
line diff
     1.1 --- a/tazusb	Thu Sep 20 12:02:06 2018 -0400
     1.2 +++ b/tazusb	Tue Feb 26 08:30:42 2019 +0100
     1.3 @@ -67,12 +67,12 @@
     1.4  	newline
     1.5  	_n 'Device to use: '; read answer
     1.6  
     1.7 -	while [ "$answer" == 'list' ]; do
     1.8 +	while [ "$answer" = 'list' ]; do
     1.9  		fdisk_list
    1.10  		_n 'Device to use: '; read answer
    1.11  	done
    1.12  
    1.13 -	if [ -z "$answer" -o "$answer" == 'exit' ]; then
    1.14 +	if [ -z "$answer" -o "$answer" = 'exit' ]; then
    1.15  		newline
    1.16  		_ 'No specified device or exit.'
    1.17  		exit 0
    1.18 @@ -282,7 +282,7 @@
    1.19  
    1.20  install_boot() {
    1.21  	# Decide if we're installing syslinux or extlinux
    1.22 -	if [ "$FSTYPE" == 'vfat' ]; then
    1.23 +	if [ "$FSTYPE" = 'vfat' ]; then
    1.24  		ST='syslinux'
    1.25  		STC="syslinux --install -d /boot/syslinux/ $DEVICE"
    1.26  		STE='cfg'
    1.27 @@ -322,7 +322,7 @@
    1.28  	newline
    1.29  	longline "$(_n 'Do you want to exit Tazusb or reboot system (Exit/reboot)? ')"
    1.30  	read answer
    1.31 -	if [ "$answer" == 'reboot' ]; then
    1.32 +	if [ "$answer" = 'reboot' ]; then
    1.33  		unmount_target_usb
    1.34  		reboot || reboot -f
    1.35  	else