Denote 'installed mods' for the list command, as opposed to 'active mods' for the status command.

This commit is contained in:
Daniel Ceregatti 2025-07-28 16:52:46 -06:00
parent 625dce94ec
commit 34368bb4f3
3 changed files with 4 additions and 5 deletions

View file

@ -83,7 +83,7 @@ list(){
do do
if [[ ${FIRST} = 1 ]] if [[ ${FIRST} = 1 ]]
then then
echo echo "Installed mods:"
echo -e " ID Name URL Size" echo -e " ID Name URL Size"
echo "-------------------------------------------------------------------------------------------------------------------------" echo "-------------------------------------------------------------------------------------------------------------------------"
FIRST=0 FIRST=0

View file

@ -586,7 +586,7 @@ status(){
else else
RELEASE="Experimental" RELEASE="Experimental"
fi fi
VERSION=$(cat /serverfiles/version) VERSION="$(cat /serverfiles/version) - Release: ${RELEASE}"
# Map # Map
MAP=${MAP} MAP=${MAP}
# Number of mods plus the list denoting on or off # Number of mods plus the list denoting on or off

View file

@ -268,7 +268,7 @@ function getVersion() {
else else
RELEASE="Experimental" RELEASE="Experimental"
fi fi
echo "${VERSION} - ${RELEASE}" echo "${VERSION} - Release: ${RELEASE}"
} }
# Update mods # Update mods
@ -318,8 +318,7 @@ Server files installed: ${INSTALLED}"
Version: ${VERSION}" Version: ${VERSION}"
# Mods # Mods
echo -ne " echo
Mods: "
MODS=$(list) MODS=$(list)
if [[ ${MODS} == "" ]] if [[ ${MODS} == "" ]]
then then