From 34368bb4f3fd738b70b1a747a09a09925fcc6836 Mon Sep 17 00:00:00 2001 From: Daniel Ceregatti Date: Mon, 28 Jul 2025 16:52:46 -0600 Subject: [PATCH] Denote 'installed mods' for the list command, as opposed to 'active mods' for the status command. --- files/bin/dz-common | 2 +- server/bin/dz | 2 +- web/bin/dz | 5 ++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/files/bin/dz-common b/files/bin/dz-common index c6165b2..60fa642 100755 --- a/files/bin/dz-common +++ b/files/bin/dz-common @@ -83,7 +83,7 @@ list(){ do if [[ ${FIRST} = 1 ]] then - echo + echo "Installed mods:" echo -e " ID Name URL Size" echo "-------------------------------------------------------------------------------------------------------------------------" FIRST=0 diff --git a/server/bin/dz b/server/bin/dz index 995b160..a9fdf47 100755 --- a/server/bin/dz +++ b/server/bin/dz @@ -586,7 +586,7 @@ status(){ else RELEASE="Experimental" fi - VERSION=$(cat /serverfiles/version) + VERSION="$(cat /serverfiles/version) - Release: ${RELEASE}" # Map MAP=${MAP} # Number of mods plus the list denoting on or off diff --git a/web/bin/dz b/web/bin/dz index c97a0be..6bfecf9 100755 --- a/web/bin/dz +++ b/web/bin/dz @@ -268,7 +268,7 @@ function getVersion() { else RELEASE="Experimental" fi - echo "${VERSION} - ${RELEASE}" + echo "${VERSION} - Release: ${RELEASE}" } # Update mods @@ -318,8 +318,7 @@ Server files installed: ${INSTALLED}" Version: ${VERSION}" # Mods - echo -ne " -Mods: " + echo MODS=$(list) if [[ ${MODS} == "" ]] then