1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

remoteit/templates/iiab-remoteit touch-ups

This commit is contained in:
A Holt 2022-04-13 12:03:03 -04:00 committed by GitHub
parent 5a2c5d0d01
commit da424d7004
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,10 +51,10 @@ fi
echo -e "\nThis IIAB must be online to begin!\n"
echo -en "\e[1mOptionally purge + install latest remote.it Device Package? [y/N]\e[0m "
read ans < /dev/tty # Strips outer whitespace, whether we like it or not!
echo
read -n 1 -r ans < /dev/tty # Prompt for a single character
echo; echo
if [[ $ans = "y" ]] || [[ $ans = "Y" ]]; then
if [[ $ans = "y" || $ans = "Y" ]]; then
# Full apt path avoids problematic /usr/local/bin/apt on Linux Mint
/usr/bin/apt -y purge "remoteit*" || true