Browse Source

* Use df -P to avoid line wrapped df. Closes: #349623

keep-around/43e990ab3f4cc50982f8dbc32e3465ca7c827876
Joey Hess 17 years ago
parent
commit
975aade0c4
  1. 5
      debian/changelog
  2. 2
      tests/desktop

5
debian/changelog

@ -9,7 +9,10 @@ tasksel (2.40) UNRELEASED; urgency=low
[ Translations of programs ]
- Updated Punjabi (Gurmukhi).
-- Christian Perrier <bubulle@debian.org> Mon, 23 Jan 2006 23:14:35 +0100
[ Joey Hess ]
* Use df -P to avoid line wrapped df. Closes: #349623
-- Joey Hess <joeyh@debian.org> Tue, 24 Jan 2006 14:19:47 -0500
tasksel (2.39) unstable; urgency=low

2
tests/desktop

@ -59,7 +59,7 @@ enough_ram () {
# suggest any task for which there is not enough disk.
enough_disk () {
min_disk=2
disk=$(df /usr | tail -1 | awk '{print $4}')
disk=$(df -P /usr | tail -1 | awk '{print $4}')
if [ "$disk" ] && [ "$disk" -ge "$(expr $min_disk \* 1024 \* 1024)" ]; then
return 0
else

Loading…
Cancel
Save