[Bug 29389] Re: fails to install -- possibly due to implicit dependency on default-display-manager?

Ralph Corderoy ralph at inputplus.co.uk
Fri Jun 9 14:37:15 UTC 2006


gdm's postinst has code like

    DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
    case "$1" in
    configure)
        if grep "/usr/bin/gdm" $DEFAULT_DISPLAY_MANAGER_FILE; then
            echo "/usr/sbin/gdm" > $DEFAULT_DISPLAY_MANAGER_FILE
        fi
        ;;
    esac

which doesn't check /etc/X11/default-display-manager exists before
grepping it.

Elsewhere, debian/* files do check /etc/X11/default-display-manager
exists before reading it.  debian/changelog says

gdm (2.8.0.0-0ubuntu1) breezy; urgency=low
  * debian/postinst:
    - update the gdm value for default-display-manager.
 -- Sebastien Bacher <seb128 at canonical.com>  Wed, 15 Jun 2005 22:53:12 +0200

-- 
fails to install --  possibly due to implicit dependency on default-display-manager?
https://launchpad.net/bugs/29389




More information about the desktop-bugs mailing list