Bug#363079: x11-common postinst fails about broken test
On 2006-04-17 Harald Dunkel <harald.dunkel@t-online.de> wrote:
[...]
> Suggested patch:
> --- debian/x11-common.postinst.in~ 2006-04-15 18:33:45.000000000 +0200
> +++ debian/x11-common.postinst.in 2006-04-17 15:16:42.000000000 +0200
> @@ -50,7 +50,7 @@
> fi
> fi
> -if [ ! -L -e -d "/usr/X11R6/bin" ]; then
> +if ! [ -L "/usr/X11R6/bin" ] && [ -d "/usr/X11R6/bin" ]; then
[...]
*Imho*
if [ ! -L "/usr/X11R6/bin" ] && [ -d "/usr/X11R6/bin" ]; then
is more readable.
cu andreas
--
The 'Galactic Cleaning' policy undertaken by Emperor Zhark is a personal
vision of the emperor's, and its inclusion in this work does not constitute
tacit approval by the author or the publisher for any such projects,
howsoever undertaken. (c) Jasper Ffforde
Reply to: