Compare commits

...

6 Commits

Author SHA1 Message Date
tteckster b7bfe7df14
Update heimdalldashboard.sh
update warning
2024-02-18 20:46:59 -05:00
tteckster 05c8093bd7
Update heimdalldashboard.sh
add warning
2024-02-18 19:39:58 -05:00
tteckster ceb3a131bf
Update grocy-install.sh
revert to PHP8.2
2024-02-18 18:47:07 -05:00
tteckster a804d47d2d
Update grocy-install.sh 2024-02-18 18:41:59 -05:00
tteckster 75bcbacd9c
Update grocy-install.sh 2024-02-18 18:40:42 -05:00
tteckster be77d96cce
Update grocy-install.sh
tweak
2024-02-18 18:38:05 -05:00
2 changed files with 13 additions and 3 deletions

View File

@ -55,6 +55,11 @@ function default_settings() {
function update_script() { function update_script() {
header_info header_info
if [[ ! -d /opt/Heimdall ]]; then msg_error "No ${APP} Installation Found!"; exit; fi 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}" msg_info "Stopping ${APP}"
systemctl disable heimdall.service &>/dev/null systemctl disable heimdall.service &>/dev/null
systemctl stop heimdall systemctl stop heimdall

View File

@ -20,13 +20,18 @@ $STD apt-get install -y mc
$STD apt-get install -y apt-transport-https $STD apt-get install -y apt-transport-https
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
msg_info "Installing PHP8.3" msg_info "Installing PHP8.2"
VERSION="$(awk -F'=' '/^VERSION_CODENAME=/{ print $NF }' /etc/os-release)" 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 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 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 update
$STD apt-get install -y php8.3 php8.3-cli php8.3-{bz2,curl,mbstring,intl,sqlite3,fpm,gd,zip,xml} $STD apt-get install -y php8.2
msg_ok "Installed PHP8.3" $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"
msg_info "Installing grocy" 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) }') latest=$(curl -s https://api.github.com/repos/grocy/grocy/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')