diff -Nru debianutils-2.29ubuntu1/debian/changelog debianutils-2.29ubuntu2/debian/changelog --- debianutils-2.29ubuntu1/debian/changelog 2008-06-26 23:16:00.000000000 -0500 +++ debianutils-2.29ubuntu2/debian/changelog 2008-09-03 12:15:10.000000000 -0500 @@ -1,3 +1,10 @@ +debianutils (2.29ubuntu2) intrepid; urgency=low + + * sensible-editor: ensure that select-editor is only called if the current + input is a tty (LP: #264423). + + -- Dustin Kirkland Wed, 03 Sep 2008 12:15:06 -0500 + debianutils (2.29ubuntu1) intrepid; urgency=low * Merge from debian unstable, remaining changes: diff -Nru debianutils-2.29ubuntu1/sensible-editor debianutils-2.29ubuntu2/sensible-editor --- debianutils-2.29ubuntu1/sensible-editor 2008-06-10 14:37:14.000000000 -0500 +++ debianutils-2.29ubuntu2/sensible-editor 2008-09-03 12:08:20.000000000 -0500 @@ -12,7 +12,7 @@ if [ -r ~/.selected_editor ]; then . ~/.selected_editor 2>/dev/null || true -elif [ -z "$EDITOR" ] && [ -z "$SELECTED_EDITOR" ]; then +elif [ -z "$EDITOR" ] && [ -z "$SELECTED_EDITOR" ] && [ -t 0 ]; then select-editor && . ~/.selected_editor 2>/dev/null || true fi