# HG changeset patch # User Pascal Bellard # Date 1551166242 -3600 # Node ID ed82aa3f185302777e734020559b54ad93487cd5 # Parent e9c96f617368d7a62f3cdfe49b5c36ac2a37bd96 Remove ashism == diff -r e9c96f617368 -r ed82aa3f1853 tazusb --- a/tazusb Thu Sep 20 12:02:06 2018 -0400 +++ b/tazusb Tue Feb 26 08:30:42 2019 +0100 @@ -67,12 +67,12 @@ newline _n 'Device to use: '; read answer - while [ "$answer" == 'list' ]; do + while [ "$answer" = 'list' ]; do fdisk_list _n 'Device to use: '; read answer done - if [ -z "$answer" -o "$answer" == 'exit' ]; then + if [ -z "$answer" -o "$answer" = 'exit' ]; then newline _ 'No specified device or exit.' exit 0 @@ -282,7 +282,7 @@ install_boot() { # Decide if we're installing syslinux or extlinux - if [ "$FSTYPE" == 'vfat' ]; then + if [ "$FSTYPE" = 'vfat' ]; then ST='syslinux' STC="syslinux --install -d /boot/syslinux/ $DEVICE" STE='cfg' @@ -322,7 +322,7 @@ newline longline "$(_n 'Do you want to exit Tazusb or reboot system (Exit/reboot)? ')" read answer - if [ "$answer" == 'reboot' ]; then + if [ "$answer" = 'reboot' ]; then unmount_target_usb reboot || reboot -f else