zenity --warning --title="$Z_STD_TITLE" --text="Fastboot not found:\n\nPlease ensure fastboot is in your PATH or the\nandroid-tools-fastboot package is installed"
* Please ensure fastboot is in your PATH or the android-tools-fastboot package is installed'
138
140
return 1
139
141
else
140
142
return 0
145
147
fb=`sudo -Sp '' -- fastboot devices <<<"${SPW}"`
146
148
if [[ -z $fb ]];
147
149
then
148
zenity --warning --title="$Z_STD_TITLE" --text="Your tablet was not detected by fastboot:\n\nPlease ensure your tablet is connected via USB\nand boot into fastboot mode by holding down the\npower and volume down buttons"
Please ensure your tablet is connected via USB and boot into fastboot mode by holding down the power and volume down buttons'
149
154
return 1
150
155
else
151
156
return 0
194
199
exit 1
195
200
fi
196
201
197
zenity --title="$Z_WELCOME" --question --text="The installer will:\n * Download images suitable for running Ubuntu Core on the Asus Nexus7\n * Install the images on the device\n\nThe download and flashing process will take a few minutes to complete\n\nPlease connect your device in fastboot mode\n\n*** THIS IS A DEVELOPMENT RELEASE ***\n\nPlease see https://wiki.ubuntu.com/Nexus7/KnownIssues\nfor more details on known issues and bugs!\n\nReady to begin the installation?"
zenity --info --title="$Z_STD_TITLE" --text="Nexus7 flashed with Ubuntu Core successfully\n\nIt will take several minutes for the root filesystem\nto be unpacked and installed after reboot"