summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-10-23 10:47:14 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-10-23 10:47:14 -0400
commitdafffb1c73226f4d694ca4cb9f677cd37d3536c5 (patch)
tree8311e09a64483fc8192e3c9b54b1b645c53b8031
parent06e2feebb1dc413a9d37d3573c4894f97c1aa774 (diff)
downloadeibhear-dafffb1c73226f4d694ca4cb9f677cd37d3536c5.tar.gz
eibhear-dafffb1c73226f4d694ca4cb9f677cd37d3536c5.tar.zst
eibhear-dafffb1c73226f4d694ca4cb9f677cd37d3536c5.zip
mount fix
-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