Skip to content

Commit c419cc3

Browse files
authored
Merge pull request #79 from MickLesk/main
[Bugfix] Add Whiptail Information to set ressources (Tandoor, ActualBudget, CalibreWeb)
2 parents 4604e72 + 4783837 commit c419cc3

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

ct/actualbudget.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ function default_settings() {
5555
function update_script() {
5656
header_info
5757
if [[ ! -d /opt/actualbudget ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
58+
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
5859
msg_info "Updating ${APP}"
5960
systemctl stop actualbudget.service
6061
cd /opt/actualbudget

ct/calibre-web.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ function update_script() {
5858
msg_error "No ${APP} Installation Found!"
5959
exit
6060
fi
61+
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
6162
header_info
6263
msg_info "Updating $APP LXC"
6364
systemctl stop cps

ct/tandoor.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ function default_settings() {
5656
function update_script() {
5757
header_info
5858
if [[ ! -d /opt/tandoor ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
59+
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
5960
if cd /opt/tandoor && git pull | grep -q 'Already up to date'; then
6061
msg_ok "There is currently no update available."
6162
else

0 commit comments

Comments
 (0)