Skip to content

Commit 158ffeb

Browse files
authored
refactor part2
1 parent 7a4240f commit 158ffeb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

android-tools-appimage.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ ln -s ./Android.png ./.DirIcon
3232
cat >> ./AppRun << 'EOF'
3333
#!/bin/sh
3434
CURRENTDIR="$(dirname "$(readlink -f "$0")")"/usr/bin
35-
UDEVNOTICE='No android udev rules detected, use "--getude" to install'
35+
UDEVNOTICE='No android udev rules detected, use "--getudev" to install'
3636
UDEVREPO="https://github.com/M0Rf30/android-udev-rules.git"
3737
export PATH="$CURRENTDIR:$PATH"
3838
3939
_get_udev_rules() {
4040
if cat /etc/udev/rules.d/*droid.rules >/dev/null 2>&1; then
41-
echo "udev rules already installed!"
41+
echo "ERROR: udev rules are already installed!"
4242
echo "Errors persisting with installed udev rules may be due to missing"
4343
echo "udev rules for device or lack of permissions from device"
4444
exit 1
@@ -76,7 +76,6 @@ _get_symlinks() {
7676
echo ""
7777
echo "This function will make wrapper symlinks in $BINDIR"
7878
echo "that will point to $APPIMAGE"
79-
echo ""
8079
echo "with the names: \"$links\""
8180
echo ""
8281
echo "Make sure there are not existing files $BINDIR with those names"

0 commit comments

Comments
 (0)