Apply suggestions from code review

I'll merge it, but this text string are 1:1 copy from the post-pbs-install.sh script. Maybe we should also fix them there.

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>
This commit is contained in:
Thorsten 2025-01-20 08:18:47 +01:00 committed by GitHub
parent 292a56a892
commit 50791bca06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -76,7 +76,7 @@ EOF
msg_ok "Disabled 'pmg-enterprise' repository" msg_ok "Disabled 'pmg-enterprise' repository"
;; ;;
no) no)
msg_error "Selected no to Disabling 'pmg-enterprise' repository" msg_error "Selected no to disabling 'pmg-enterprise' repository"
;; ;;
esac esac
@ -92,7 +92,7 @@ EOF
msg_ok "Enabled 'pmg-no-subscription' repository" msg_ok "Enabled 'pmg-no-subscription' repository"
;; ;;
no) no)
msg_error "Selected no to Enabling 'pmg-no-subscription' repository" msg_error "Selected no to enabling 'pmg-no-subscription' repository"
;; ;;
esac esac
@ -108,7 +108,7 @@ EOF
msg_ok "Added 'pmgtest' repository" msg_ok "Added 'pmgtest' repository"
;; ;;
no) no)
msg_error "Selected no to Adding 'pmgtest' repository" msg_error "Selected no to adding 'pmgtest' repository"
;; ;;
esac esac
@ -126,7 +126,7 @@ EOF
;; ;;
no) no)
whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "Support Subscriptions" "Supporting the software's development team is essential. Check their official website's Support Subscriptions for pricing. Without their dedicated work, we wouldn't have this exceptional software." 10 58 whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "Support Subscriptions" "Supporting the software's development team is essential. Check their official website's Support Subscriptions for pricing. Without their dedicated work, we wouldn't have this exceptional software." 10 58
msg_error "Selected no to Disabling subscription nag" msg_error "Selected no to disabling subscription nag"
;; ;;
esac esac
fi fi
@ -142,7 +142,7 @@ EOF
msg_ok "Updated Proxmox Mail Gateway" msg_ok "Updated Proxmox Mail Gateway"
;; ;;
no) no)
msg_error "Selected no to Updating Proxmox Mail Gateway" msg_error "Selected no to updating Proxmox Mail Gateway"
;; ;;
esac esac
@ -157,7 +157,7 @@ EOF
reboot reboot
;; ;;
no) no)
msg_error "Selected no to Rebooting Proxmox Mail Gateway (Reboot recommended)" msg_error "Selected no to reboot Proxmox Mail Gateway (Reboot recommended)"
msg_ok "Completed Post Install Routines" msg_ok "Completed Post Install Routines"
;; ;;
esac esac