Browse Source

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

tags/2.40
Joey Hess 15 years ago
parent
commit
975aade0c4
2 changed files with 5 additions and 2 deletions
  1. +4
    -1
      debian/changelog
  2. +1
    -1
      tests/desktop

+ 4
- 1
debian/changelog View File

@@ -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



+ 1
- 1
tests/desktop View File

@@ -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