mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-08-09 08:33:35 +00:00
Denote 'installed mods' for the list command, as opposed to 'active mods' for the status command.
This commit is contained in:
parent
625dce94ec
commit
34368bb4f3
3 changed files with 4 additions and 5 deletions
|
@ -83,7 +83,7 @@ list(){
|
|||
do
|
||||
if [[ ${FIRST} = 1 ]]
|
||||
then
|
||||
echo
|
||||
echo "Installed mods:"
|
||||
echo -e " ID Name URL Size"
|
||||
echo "-------------------------------------------------------------------------------------------------------------------------"
|
||||
FIRST=0
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue