Skip to content

Commit 07d87d3

Browse files
committed
Update the correct function to check if adb is enabled in the device
1 parent e15bc4a commit 07d87d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎installApps.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
getDeviceChoice
2020
displaySelectedDevice $deviceSerial
2121

22-
if [ $( checkAdbDevice $deviceSerial ) == "true" ]; then
22+
if [ "$( isAdbDevice $deviceSerial )" == "true" ]; then
2323
#if [[ $( checkClockWorkDevice $deviceSerial ) == "true" || $( checkAtHomeDevice $deviceSerial ) == "true" ]]; then
2424
# echo -e " ${txtRed}You are not allowed to install apps in @Home or ClockWork device${txtRst}\n"
2525
#else

0 commit comments

Comments
 (0)