This commit is contained in:
Dylan Araps 2016-08-26 12:28:33 +10:00
parent 93715fb4a9
commit f5bd9a7841

View file

@ -1491,7 +1491,6 @@ getdisk() {
# Get the disk info # Get the disk info
disk="$(df $df_flags 2>/dev/null | awk -v dir="$df_dir" '$0 ~ dir {print $2 ":" $3 ":" $5}')" disk="$(df $df_flags 2>/dev/null | awk -v dir="$df_dir" '$0 ~ dir {print $2 ":" $3 ":" $5}')"
# Format the output # Format the output
disk_used="${disk#*:}" disk_used="${disk#*:}"
disk_used="${disk_used%%:*}" disk_used="${disk_used%%:*}"
@ -2979,6 +2978,11 @@ main() {
getargs "$@" getargs "$@"
getdistro getdistro
# Temp command to test travis
if [ "$os" == "Mac OS X" ]; then
df -H / -l
fi
# Get colors and bold # Get colors and bold
bold bold
colors colors