From 98ab0ced7afd19b80f0ad5f1202954f94ba8dfba Mon Sep 17 00:00:00 2001 From: Thorsten Date: Mon, 20 Jan 2025 08:28:28 +0100 Subject: [PATCH] smaller fixes --- json/post-pmg-install.json | 54 +++++++++++++++++++------------------- misc/post-pmg-install.sh | 7 +++-- 2 files changed, 30 insertions(+), 31 deletions(-) diff --git a/json/post-pmg-install.json b/json/post-pmg-install.json index 57dc4abb..2924d51f 100644 --- a/json/post-pmg-install.json +++ b/json/post-pmg-install.json @@ -2,9 +2,9 @@ "name": "Proxmox Mail Gateway Post Install", "slug": "post-pmg-install", "categories": [ -1 + 1 ], -"date_created": "2025-01-17", +"date_created": "2025-01-20", "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" + } ] } diff --git a/misc/post-pmg-install.sh b/misc/post-pmg-install.sh index fdaebd66..44d027c8 100644 --- a/misc/post-pmg-install.sh +++ b/misc/post-pmg-install.sh @@ -1,9 +1,8 @@ #!/usr/bin/env bash -# Copyright (c) 2021-2025 tteck | community-scripts ORG +# Copyright (c) 2021-2025 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 @@ -157,7 +156,7 @@ EOF reboot ;; no) - msg_error "Selected no to reboot Proxmox Mail Gateway (Reboot recommended)" + msg_error "Selected no to reboot Proxmox Mail Gateway (Reboot recommended)" msg_ok "Completed Post Install Routines" ;; esac