mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-07 06:41:17 +00:00
Fix unaligned text.
This commit is contained in:
parent
269f62cd72
commit
ed2b9499a2
1 changed files with 3 additions and 3 deletions
|
@ -529,13 +529,13 @@ activelist(){
|
||||||
if [[ ${have} = "no" ]]
|
if [[ ${have} = "no" ]]
|
||||||
then
|
then
|
||||||
have="yes"
|
have="yes"
|
||||||
echo -e "\n ID Name URL Size"
|
echo -e "\n ID Name URL Size"
|
||||||
echo "------------------------------------------------------------------------------------------------------------------------"
|
echo "-------------------------------------------------------------------------------------------------------------------------"
|
||||||
fi
|
fi
|
||||||
ID=$(readlink ${link} | awk -F/ '{print $NF}')
|
ID=$(readlink ${link} | awk -F/ '{print $NF}')
|
||||||
MODNAME=$(get_mod_name ${ID})
|
MODNAME=$(get_mod_name ${ID})
|
||||||
SIZE=$(du -sh "${WORKSHOP_DIR}/${ID}" | awk '{print $1}')
|
SIZE=$(du -sh "${WORKSHOP_DIR}/${ID}" | awk '{print $1}')
|
||||||
printf "${C}%.3d %s %.30s %s https://steamcommunity.com/sharedfiles/filedetails/?id=%s %s${default}\n" ${X} ${ID} "${MODNAME}" "${spaces:${#MODNAME}+1}" ${ID} ${SIZE}
|
printf "${C}%.3d %s %.30s %s https://steamcommunity.com/sharedfiles/filedetails/?id=%s %s${default}\n" ${X} ${ID} "${MODNAME}" "${spaces:${#MODNAME}}" ${ID} ${SIZE}
|
||||||
X=$((X+1))
|
X=$((X+1))
|
||||||
done
|
done
|
||||||
if [[ ${have} = "no" ]]
|
if [[ ${have} = "no" ]]
|
||||||
|
|
Loading…
Add table
Reference in a new issue