summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.scripts/dmenumount10
1 files changed, 7 insertions, 3 deletions
diff --git a/.scripts/dmenumount b/.scripts/dmenumount
index 1aadf01..17f0eb2 100755
--- a/.scripts/dmenumount
+++ b/.scripts/dmenumount
@@ -45,7 +45,11 @@ if [ -z "$usbdrives" ]; then
mountandroid
else
echo "USB drive(s) detected."
- [ -z "$anddrives" ] && echo "USB drive detected." && mountusb
- echo "Mountable USB drive(s) and Android device(s) detected."
- asktype
+ if [ -z "$anddrives" ]; then
+ echo "USB drive detected."
+ mountusb
+ else
+ echo "Mountable USB drive(s) and Android device(s) detected."
+ asktype
+ fi
fi