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
if [[ ${FIRST} = 1 ]]
then
echo
echo "Installed mods:"
echo -e " ID Name URL Size"
echo "-------------------------------------------------------------------------------------------------------------------------"
FIRST=0

View file

@ -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

View file

@ -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