Update heimdall-install.sh - minor edits

This commit is contained in:
tschettervictor
2024-09-29 17:16:09 -06:00
committed by GitHub
parent 6639813e64
commit 241beef442

View File

@@ -2,7 +2,7 @@
# Install Heimdall Dashboard # Install Heimdall Dashboard
APP_NAME="Heimdall" APP_NAME="Heimdall"
HEIMDALL_VERSION="2.6.1" APP_VERSION="2.6.1"
PHP_VERSION="83" PHP_VERSION="83"
# Check for Root Privileges # Check for Root Privileges
@@ -17,10 +17,10 @@ pkg install -y caddy php${PHP_VERSION} php${PHP_VERSION}-mbstring php${PHP_VERSI
# Create Directories # Create Directories
mkdir -p /usr/local/www mkdir -p /usr/local/www
# Download and install Heimdall # Heimdall Setup
mkdir -p /usr/local/www/html mkdir -p /usr/local/www/html
fetch -o /tmp https://github.com/linuxserver/Heimdall/archive/v"${HEIMDALL_VERSION}".tar.gz fetch -o /tmp https://github.com/linuxserver/Heimdall/archive/v"${APP_VERSION}".tar.gz
tar zxf /tmp/v"${HEIMDALL_VERSION}".tar.gz --strip 1 -C /usr/local/www/html/ tar zxf /tmp/v"${APP_VERSION}".tar.gz --strip 1 -C /usr/local/www/html/
mkdir -p /usr/local/www/html/storage/app/public/icons mkdir -p /usr/local/www/html/storage/app/public/icons
sh -c 'find /usr/local/www/ -type d -print0 | xargs -0 chmod 2775' sh -c 'find /usr/local/www/ -type d -print0 | xargs -0 chmod 2775'
touch /usr/local/www/html/database/app.sqlite touch /usr/local/www/html/database/app.sqlite