Browse Source

Fix broken test for non-desktop systems which caused the ssh server task to be selected by default on systems with a desktop.

tags/3.15
Joey Hess 8 years ago
parent
commit
b279f621d8
2 changed files with 10 additions and 1 deletions
  1. +4
    -0
      debian/changelog
  2. +6
    -1
      tests/server

+ 4
- 0
debian/changelog View File

@@ -16,6 +16,10 @@ tasksel (3.15) UNRELEASED; urgency=low
[ Thijs Kinkhorst ]
* Language cleanups in Dutch translations.

[ Joey Hess ]
* Fix broken test for non-desktop systems which caused the ssh server task
to be selected by default on systems with a desktop.

-- Christian Perrier <bubulle@debian.org> Mon, 25 Feb 2013 07:17:51 +0100

tasksel (3.14+nmu1) unstable; urgency=low


+ 6
- 1
tests/server View File

@@ -1,7 +1,12 @@
#!/bin/sh

if ! [ "$NEW_INSTALL" ]; then
exit 3
fi

/usr/lib/tasksel/tests/desktop
ret=$?
case ret in
case $ret in
0|2) # is desktop
exit 3 # not server
;;


Loading…
Cancel
Save