The sysinfo script in Konvesation in Feisty does not display the diskspace anymore
Bug #108497 reported by
hyper_ch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
konversation (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The sysinfo script in Konversation (running it within Konvi with /sysinfo) does not show the the diskspace (used and total) anymore.
The script, located at /usr/share/
(1) install gawk
or better
(2)
Changing the part from:
HDD=$(df -l| awk '($1~/dev/){
use+=$3/1024**2;
tot+=$2/1024**2;
}
END{print "HD: " int(use) "/" int(tot) "GB"}')
to
HDD=$(df -l| awk '($1~/dev/){
use+=$3/1024^2;
tot+=$2/1024^2;
}
END{print "HD: " int(use) "/" int(tot) "GB"}')
The upstream of konversation has already applied the second option by using POSIX power of '^' instead of "**".
To post a comment you must log in.
marking as fix committed, as it appears to have been fixed upstream