Bug#900501: gnuplot-x11: wrong bracket test in postinst

Ralf Treinen treinen at irif.fr
Thu May 31 15:58:41 BST 2018


Package: gnuplot-x11
Version: 5.2.2+dfsg1-2
Severity: important
User: treinen at debian.org
Usertags: colis-shparser

Hi,

postinst contains

if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" !=
"upgrade"]; then

there is a space missing before the closing bracket of the last test, 
which may make the postinst fail like this:

[: missing ]

-Ralf.
-- 
Ralf Treinen
Institut de Recherche en Informatique Fondamentale
Équipe Preuves, Programmes et Systèmes
Université Paris Diderot, Paris, France.
http://www.irif.fr/~treinen/



More information about the debian-science-maintainers mailing list