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:
parent
5a2c5d0d01
commit
da424d7004
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue