Update installation script to support Oracle Linux
This commit is contained in:
@@ -26,7 +26,7 @@ if [ "${NODE_ENV:-}" = "development" ]; then
|
|||||||
DEV_MODE=true
|
DEV_MODE=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
|
||||||
REPO_ROOT="$(dirname "$(dirname "$SCRIPT_DIR")")"
|
REPO_ROOT="$(dirname "$(dirname "$SCRIPT_DIR")")"
|
||||||
|
|
||||||
require_root() {
|
require_root() {
|
||||||
@@ -81,7 +81,7 @@ install_deps() {
|
|||||||
apt-get update -y
|
apt-get update -y
|
||||||
apt-get install -y git curl ca-certificates openssl
|
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
|
dnf install -y git curl ca-certificates openssl
|
||||||
;;
|
;;
|
||||||
arch | manjaro | endeavouros)
|
arch | manjaro | endeavouros)
|
||||||
|
|||||||
Reference in New Issue
Block a user