From 54afceec66744e758595e6a4e9bd861523f5b016 Mon Sep 17 00:00:00 2001 From: OrioleNix <163466443+OrioleNix@users.noreply.github.com> Date: Wed, 30 Jul 2025 10:18:45 -0400 Subject: 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 --- scripts/DYNAMIC_INSTALL.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/DYNAMIC_INSTALL.sh') 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 -- cgit