Skip to content

Commit

Permalink
Added a link gdmflexiserver->mdmflexiserver and made MDM conflict wit…
Browse files Browse the repository at this point in the history
…h GDM
  • Loading branch information
clefebvre committed Aug 30, 2012
1 parent 2b46afa commit d469df7
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
4 changes: 3 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ Provides: x-display-manager
Conflicts: fast-user-switch-applet (<< 2.17.4),
gnome-session (<< 2.19.2),
gnome-panel (<< 2.19.2),
gnome-screensaver (<< 2.17.7)
gnome-screensaver (<< 2.17.7),
gdm,
gdm3
Description: GNOME Display Manager
mdm provides the equivalent of a "login:" prompt for X displays- it
pops up a login window and starts an X session.
Expand Down
4 changes: 3 additions & 1 deletion debian/control.in
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ Provides: x-display-manager
Conflicts: fast-user-switch-applet (<< 2.17.4),
gnome-session (<< 2.19.2),
gnome-panel (<< 2.19.2),
gnome-screensaver (<< 2.17.7)
gnome-screensaver (<< 2.17.7),
gdm,
gdm3
Description: GNOME Display Manager
mdm provides the equivalent of a "login:" prompt for X displays- it
pops up a login window and starts an X session.
Expand Down
5 changes: 5 additions & 0 deletions debian/mdm.postinst
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ if [ -x /etc/init.d/mdm ]; then
invoke-rc.d mdm reload || true
fi

if [ ! -e /usr/bin/gdmflexiserver ]; then
echo "Linking /usr/bin/gdmflexiserver to /usr/bin/mdmflexiserver"
ln -s /usr/bin/mdmflexiserver /usr/bin/gdmflexiserver
fi

#DEBHELPER#

exit 0
6 changes: 6 additions & 0 deletions debian/mdm.prerm
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ if [ "$1" = "remove" ]; then
fi
fi


if [ -L /usr/bin/gdmflexiserver ]; then
echo "Removing link /usr/bin/gdmflexiserver"
rm -f /usr/bin/gdmflexiserver
fi

#DEBHELPER#

exit 0

0 comments on commit d469df7

Please sign in to comment.