From 368434129a45698bbbf3ee1a9d11f4dd0fd347c7 Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Sun, 20 Sep 2026 18:45:42 +0100 Subject: [PATCH] Update installation script to support Oracle Linux --- src/scripts/install-wg-ui.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/install-wg-ui.sh b/src/scripts/install-wg-ui.sh index f650daa..9bbc97f 100755 --- a/src/scripts/install-wg-ui.sh +++ b/src/scripts/install-wg-ui.sh @@ -26,7 +26,7 @@ if [ "${NODE_ENV:-}" = "development" ]; then DEV_MODE=true fi -SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)" REPO_ROOT="$(dirname "$(dirname "$SCRIPT_DIR")")" require_root() { @@ -81,7 +81,7 @@ install_deps() { apt-get update -y apt-get install -y git curl ca-certificates openssl ;; - fedora | rhel | centos | rocky | almalinux) + fedora | rhel | centos | rocky | almalinux | ol) dnf install -y git curl ca-certificates openssl ;; arch | manjaro | endeavouros)