Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Commit 25a9708

Browse files
authored
Update heimdalldashboard-install.sh
use php8.2
1 parent a4be233 commit 25a9708

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

install/heimdalldashboard-install.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,17 @@ $STD apt-get install -y curl
1818
$STD apt-get install -y sudo
1919
$STD apt-get install -y mc
2020
$STD apt-get install -y apt-transport-https
21+
$STD apt-get install -y composer
22+
$STD apt-get install -y php8.2-{bz2,curl,sqlite3,zip,xml}
2123
msg_ok "Installed Dependencies"
2224

23-
msg_info "Installing PHP8.3"
24-
curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg
25-
echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ bookworm main" >/etc/apt/sources.list.d/php.list
26-
$STD apt-get update
27-
$STD apt-get install -y php8.3 php8.3-cli php8.3-{bz2,curl,mbstring,intl,sqlite3,zip,xml}
28-
msg_ok "Installed PHP8.3"
29-
3025
RELEASE=$(curl -sX GET "https://api.github.com/repos/linuxserver/Heimdall/releases/latest" | awk '/tag_name/{print $4;exit}' FS='[""]')
3126
msg_info "Installing Heimdall Dashboard ${RELEASE}"
3227
wget -q https://github.com/linuxserver/Heimdall/archive/${RELEASE}.tar.gz
3328
tar xzf ${RELEASE}.tar.gz
3429
VER=$(curl -s https://api.github.com/repos/linuxserver/Heimdall/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
3530
rm -rf ${RELEASE}.tar.gz
3631
mv Heimdall-${VER} /opt/Heimdall
37-
$STD apt-get install -y composer
3832
msg_ok "Installed Heimdall Dashboard ${RELEASE}"
3933

4034
msg_info "Creating Service"

0 commit comments

Comments
 (0)