Skip to content

Commit 54afcee

Browse files
authored
No more bash (#1106)
* Make it actually non-bash dependent changed the way script_dir is found to not call on bash * Make dynamic install not bash dependent Removes a bash requirement for the env call * Update APPIMAGE_INSTALL.sh * Update DYNAMIC_INSTALL.sh
1 parent 33ac018 commit 54afcee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/APPIMAGE_INSTALL.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#!/usr/bin/env
1+
#!/usr/bin/env sh
22

33
# exit on error
44
set -e
55

66
# Move to script's directory
7-
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
7+
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
88
cd "${SCRIPT_DIR}"
99

1010
#add .desktop file (which should allow most DE's easy access to the program

scripts/DYNAMIC_INSTALL.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#!/usr/bin/env
1+
#!/usr/bin/env sh
22

33
# exit on error
44
set -e
55

66
# Move to script's directory
7-
SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
7+
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
88
cd "${SCRIPT_DIR}"
99

1010
#add .desktop file (which should allow most DE's easy access to the program

0 commit comments

Comments
 (0)