Remove check for 'df' as all OS we support will have it installed
This commit is contained in:
parent
5048dda2aa
commit
5145f40125
1 changed files with 20 additions and 22 deletions
2
fetch
2
fetch
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue