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
|
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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue