Skip to content

Commit

Permalink
Merge pull request #79 from MickLesk/main
Browse files Browse the repository at this point in the history
[Bugfix] Add Whiptail Information to set ressources (Tandoor, ActualBudget, CalibreWeb)
  • Loading branch information
MickLesk authored Nov 5, 2024
2 parents 4604e72 + 4783837 commit c419cc3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions ct/actualbudget.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/actualbudget ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "SET RESOURCES" "Please set the resources in your ${APP} LXC to ${var_cpu}vCPU and ${var_ram}RAM for the build process before continuing" 10 75
msg_info "Updating ${APP}"
systemctl stop actualbudget.service
cd /opt/actualbudget
Expand Down
1 change: 1 addition & 0 deletions ct/calibre-web.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!"
exit
fi
whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "SET RESOURCES" "Please set the resources in your ${APP} LXC to ${var_cpu}vCPU and ${var_ram}RAM for the build process before continuing" 10 75
header_info
msg_info "Updating $APP LXC"
systemctl stop cps
Expand Down
1 change: 1 addition & 0 deletions ct/tandoor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/tandoor ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "SET RESOURCES" "Please set the resources in your ${APP} LXC to ${var_cpu}vCPU and ${var_ram}RAM for the build process before continuing" 10 75
if cd /opt/tandoor && git pull | grep -q 'Already up to date'; then
msg_ok "There is currently no update available."
else
Expand Down

0 comments on commit c419cc3

Please sign in to comment.