Browse Source

x230: external scripts: be a little less verbose in the success path

It feelds a little more streamlined when not repeating everything the
user does.
pull/48/head
Martin Kepplinger 6 years ago
parent
commit
9f326cc383
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      x230/external_install_top.sh

+ 0
- 2
x230/external_install_top.sh View File

@ -100,7 +100,6 @@ if [ ! "$have_input_image" -gt 0 ] ; then
exit exit
elif (( REPLY > 0 && REPLY <= ${#options[@]} )) ; then elif (( REPLY > 0 && REPLY <= ${#options[@]} )) ; then
echo "You picked $INPUT_IMAGE_PATH which is file $REPLY"
break break
else else
@ -140,7 +139,6 @@ programmer=""
if [ "${FLASHER}" = "rpi" ] ; then if [ "${FLASHER}" = "rpi" ] ; then
programmer="linux_spi:dev=/dev/spidev0.0,spispeed=${rpi_frequency}" programmer="linux_spi:dev=/dev/spidev0.0,spispeed=${rpi_frequency}"
elif [ "${FLASHER}" = "ch341a" ] ; then elif [ "${FLASHER}" = "ch341a" ] ; then
echo "Ok. Connect a CH341A programmer"
programmer="ch341a_spi" programmer="ch341a_spi"
else else
echo "invalid flashrom programmer" echo "invalid flashrom programmer"


Loading…
Cancel
Save