From 9d893a97b6dae59d3b1ebb0b39426bc532d1fa65 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Tue, 25 Mar 2025 13:17:28 +0000 Subject: [PATCH] fix(readme): Update installation instructions to combine download and execution into a single command for clarity --- changelog.md | 5 +++++ readme.md | 3 +-- ts/00_commitinfo_data.ts | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index 36fcf24..938a855 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,10 @@ # Changelog +## 2025-03-25 - 2.4.7 - fix(readme) +Update installation instructions to combine download and execution into a single command for clarity + +- Method 1 now uses a unified one-line command to download and run the install script + ## 2025-03-25 - 2.4.6 - fix(installer) Improve installation instructions for interactive and non-interactive setups diff --git a/readme.md b/readme.md index 00949b8..a5f9d6d 100644 --- a/readme.md +++ b/readme.md @@ -20,8 +20,7 @@ NUPST is a command-line tool that monitors SNMP-enabled UPS devices and initiate ```bash # Method 1: Download and run (most reliable across all environments) -curl -sSL https://code.foss.global/serve.zone/nupst/raw/branch/main/install.sh -o nupst-install.sh -sudo bash nupst-install.sh +curl -sSL https://code.foss.global/serve.zone/nupst/raw/branch/main/install.sh -o nupst-install.sh && sudo bash nupst-install.sh && rm nupst-install.sh ``` ```bash diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 453746a..6046d06 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/nupst', - version: '2.4.6', + version: '2.4.7', description: 'Node.js UPS Shutdown Tool for SNMP-enabled UPS devices' }