diff options
| author | OrioleNix <163466443+OrioleNix@users.noreply.github.com> | 2025-07-30 10:18:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-30 16:18:45 +0200 |
| commit | 54afceec66744e758595e6a4e9bd861523f5b016 (patch) | |
| tree | 66d722df2f2c352c05f4880f58f37b89ca94b2d0 /scripts/DYNAMIC_INSTALL.sh | |
| parent | 33ac018c8031d44c99299b84c7018cbb10cac839 (diff) | |
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
Diffstat (limited to 'scripts/DYNAMIC_INSTALL.sh')
| -rw-r--r-- | scripts/DYNAMIC_INSTALL.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/DYNAMIC_INSTALL.sh b/scripts/DYNAMIC_INSTALL.sh index 77660d4b..a9fbc2c4 100644 --- a/scripts/DYNAMIC_INSTALL.sh +++ b/scripts/DYNAMIC_INSTALL.sh @@ -1,10 +1,10 @@ -#!/usr/bin/env +#!/usr/bin/env sh # exit on error set -e # Move to script's directory -SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) +SCRIPT_DIR="$(dirname "$(readlink -f "$0")")" cd "${SCRIPT_DIR}" #add .desktop file (which should allow most DE's easy access to the program |
