Remove check for 'df' as all OS we support will have it installed

This commit is contained in:
Dylan 2016-01-26 22:52:05 +11:00
parent 5048dda2aa
commit 5145f40125

2
fetch
View file

@ -1012,7 +1012,6 @@ getgtkfont () {
}
getdisk () {
if type -p df >/dev/null 2>&1; then
# df flags
case "$os" in
"Linux" | "Windows") df_flags="-h --total" ;;
@ -1037,7 +1036,6 @@ getdisk () {
# Put it all together
disk="${disk_used} / ${disk_total} (${disk_total_per})"
fi
}
getcols () {