aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOrioleNix <163466443+OrioleNix@users.noreply.github.com>2025-07-30 10:18:45 -0400
committerGitHub <noreply@github.com>2025-07-30 16:18:45 +0200
commit54afceec66744e758595e6a4e9bd861523f5b016 (patch)
tree66d722df2f2c352c05f4880f58f37b89ca94b2d0
parent33ac018c8031d44c99299b84c7018cbb10cac839 (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
-rw-r--r--scripts/APPIMAGE_INSTALL.sh4
-rw-r--r--scripts/DYNAMIC_INSTALL.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/APPIMAGE_INSTALL.sh b/scripts/APPIMAGE_INSTALL.sh
index e8cafc89..8599cd5a 100644
--- a/scripts/APPIMAGE_INSTALL.sh
+++ b/scripts/APPIMAGE_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
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