mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 14:21:18 +00:00
More alignment.
This commit is contained in:
parent
dc36e1817c
commit
9d26bcbe44
1 changed files with 3 additions and 3 deletions
|
@ -74,14 +74,14 @@ list(){
|
||||||
if [[ ${FIRST} = 1 ]]
|
if [[ ${FIRST} = 1 ]]
|
||||||
then
|
then
|
||||||
echo
|
echo
|
||||||
echo -e " ID Name URL Size"
|
echo -e " ID Name URL Size"
|
||||||
echo "------------------------------------------------------------------------------------------------------------------------"
|
echo "-------------------------------------------------------------------------------------------------------------------------"
|
||||||
FIRST=0
|
FIRST=0
|
||||||
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
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Add table
Reference in a new issue