mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "b7bfe7df1436f655a3bf3eae24bd210095d96541" and "147d0ac8db7ac4db73f468f21866c610578a0751" have entirely different histories.
b7bfe7df14
...
147d0ac8db
|
@ -55,11 +55,6 @@ function default_settings() {
|
|||
function update_script() {
|
||||
header_info
|
||||
if [[ ! -d /opt/Heimdall ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||
if ! whiptail --backtitle "Proxmox VE Helper Scripts" --title "WARNING" --yesno "Currently, v2.6.0 breaks the application. Proceed?" 10 58; then
|
||||
clear
|
||||
echo -e "⚠ User exited script \n"
|
||||
exit
|
||||
fi
|
||||
msg_info "Stopping ${APP}"
|
||||
systemctl disable heimdall.service &>/dev/null
|
||||
systemctl stop heimdall
|
||||
|
|
|
@ -20,18 +20,13 @@ $STD apt-get install -y mc
|
|||
$STD apt-get install -y apt-transport-https
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing PHP8.2"
|
||||
msg_info "Installing PHP8.3"
|
||||
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)"
|
||||
curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg
|
||||
echo -e "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $VERSION main" >/etc/apt/sources.list.d/php.list
|
||||
$STD apt-get update
|
||||
$STD apt-get install -y php8.2
|
||||
$STD apt-get install -y libapache2-mod-php8.2
|
||||
$STD apt-get install -y php8.2-sqlite3
|
||||
$STD apt-get install -y php8.2-gd
|
||||
$STD apt-get install -y php8.2-intl
|
||||
$STD apt-get install -y php8.2-mbstring
|
||||
msg_ok "Installed PHP8.2"
|
||||
$STD apt-get install -y php8.3 php8.3-cli php8.3-{bz2,curl,mbstring,intl,sqlite3,fpm,gd,zip,xml}
|
||||
msg_ok "Installed PHP8.3"
|
||||
|
||||
msg_info "Installing grocy"
|
||||
latest=$(curl -s https://api.github.com/repos/grocy/grocy/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
|
||||
|
|
Loading…
Reference in New Issue