Package: octave
Version: 3.6.2-2
Severity: minor

When octave is installed I see this:

Configurando octave (3.6.2-2) ...
warning: X11 DISPLAY environment variable not set


As "apt-get upgrade" is supposed to work on a terminal, this warning
about DISPLAY variable not set is a little bit misleading and it would
be much better to avoid it if possible.

The following patch seems to disable the warning:

diff -ru octave-3.6.2.original/debian/octave.postinst 
octave-3.6.2/debian/octave.postinst
--- octave-3.6.2.original/debian/octave.postinst        2012-06-05 
21:02:56.000000000 +0200
+++ octave-3.6.2/debian/octave.postinst 2012-07-10 13:33:02.924950342 +0200
@@ -7,7 +7,7 @@
 #DEBHELPER#
 
 rebuild_pkg_database () {
-    octave --silent --no-history --no-init-file        \
+    octave --silent --no-history --no-init-file --no-window-system \
           --eval "pkg ('rebuild');"
 }
 

Thanks.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to