lubuntu-default-settings/debian/lubuntu-default-settings.postinst
Julien Lavergne 84cb72da30 * etc/xdg/lubuntu/menus/lxgames-applications.menu :
- Add a specific menu structure for a games session.
* usr/bin/startlubuntu-lxgames :
 - Add a new script to start a games session, with a specific menu structure.
* usr/share/xsessions/lxgames.desktop :
 - Add a new session to start a games session.
* debian/control:
 - Add new binaries, to configure default session on lightdm.
* Reorganize script in debian/ to handle the creation of the new
  default-session binaries.
* debian/lubuntu-default-settings.install:
 - Keep all files in lubuntu-default-settings.
2012-11-18 00:53:33 +01:00

23 lines
600 B
Bash

#!/bin/sh -e
set -e
# Remove alternative file if it's not a symlink, workaround for broken upgrade
# See bug #625485
if [ -f /etc/alternatives/lxdm.conf ] ; then
if [ ! -h "/etc/alternatives/lxdm.conf" ] ; then
rm -f "/etc/alternatives/lxdm.conf"
fi
fi
if [ "$1" = "configure" ] ; then
update-alternatives --install /etc/lxdm/default.conf \
lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf 60
update-alternatives --install /etc/lightdm/lightdm-gtk-greeter.conf \
lightdm-gtk-greeter-config-derivative \
/etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf 30
fi
#DEBHELPER#
exit 0