Compare commits

..

No commits in common. "98ab0ced7afd19b80f0ad5f1202954f94ba8dfba" and "292a56a8925bd57f1afeb02c03e88d59c0eb5dd4" have entirely different histories.

2 changed files with 36 additions and 35 deletions

View File

@ -2,9 +2,9 @@
"name": "Proxmox Mail Gateway Post Install",
"slug": "post-pmg-install",
"categories": [
1
1
],
"date_created": "2025-01-20",
"date_created": "2025-01-17",
"type": "misc",
"updateable": false,
"privileged": false,
@ -14,34 +14,34 @@
"logo": "https://raw.githubusercontent.com/home-assistant/brands/master/core_integrations/proxmoxve/icon.png",
"description": "The script will give options to Disable the Enterprise Repo, Add/Correct PMG Sources, Enable the No-Subscription Repo, Add Test Repo, Disable Subscription Nag, Update Proxmox Mail Gateway and Reboot PMG.",
"install_methods": [
{
"type": "default",
"script": "misc/post-pmg-install.sh",
"resources": {
"cpu": null,
"ram": null,
"hdd": null,
"os": null,
"version": null
}
}
{
"type": "default",
"script": "misc/post-pmg-install.sh",
"resources": {
"cpu": null,
"ram": null,
"hdd": null,
"os": null,
"version": null
}
}
],
"default_credentials": {
"username": null,
"password": null
"username": null,
"password": null
},
"notes": [
{
"text": "Proxmox Mail Gateway ONLY",
"type": "info"
},
{
"text": "Execute within the Proxmox Mail Gateway Shell",
"type": "info"
},
{
"text": "It is recommended to answer “yes” (y) to all options presented during the process.",
"type": "info"
}
{
"text": "Proxmox Mail Gateway ONLY",
"type": "info"
},
{
"text": "Execute within the Proxmox Mail Gateway Shell",
"type": "info"
},
{
"text": "It is recommended to answer “yes” (y) to all options presented during the process.",
"type": "info"
}
]
}

View File

@ -1,8 +1,9 @@
#!/usr/bin/env bash
# Copyright (c) 2021-2025 community-scripts ORG
# Copyright (c) 2021-2025 tteck | community-scripts ORG
# Author: thost96 (thost96)
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
# License: MIT
# https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
header_info() {
clear
@ -75,7 +76,7 @@ EOF
msg_ok "Disabled 'pmg-enterprise' repository"
;;
no)
msg_error "Selected no to disabling 'pmg-enterprise' repository"
msg_error "Selected no to Disabling 'pmg-enterprise' repository"
;;
esac
@ -91,7 +92,7 @@ EOF
msg_ok "Enabled 'pmg-no-subscription' repository"
;;
no)
msg_error "Selected no to enabling 'pmg-no-subscription' repository"
msg_error "Selected no to Enabling 'pmg-no-subscription' repository"
;;
esac
@ -107,7 +108,7 @@ EOF
msg_ok "Added 'pmgtest' repository"
;;
no)
msg_error "Selected no to adding 'pmgtest' repository"
msg_error "Selected no to Adding 'pmgtest' repository"
;;
esac
@ -125,7 +126,7 @@ EOF
;;
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
msg_error "Selected no to disabling subscription nag"
msg_error "Selected no to Disabling subscription nag"
;;
esac
fi
@ -141,7 +142,7 @@ EOF
msg_ok "Updated Proxmox Mail Gateway"
;;
no)
msg_error "Selected no to updating Proxmox Mail Gateway"
msg_error "Selected no to Updating Proxmox Mail Gateway"
;;
esac
@ -156,7 +157,7 @@ EOF
reboot
;;
no)
msg_error "Selected no to reboot Proxmox Mail Gateway (Reboot recommended)"
msg_error "Selected no to Rebooting Proxmox Mail Gateway (Reboot recommended)"
msg_ok "Completed Post Install Routines"
;;
esac