~xubuntu-dev/xubuntu-default-settings/trunk

1 by Gauvain Pocentek
initial import
1
#! /bin/sh
2
3
set -e
4
312 by Lionel Le Folgoc
* debian/postinst,debian/prerm: set up alternatives for lightdm.conf and
5
case "$1" in
315 by Lionel Le Folgoc
* debian/control: bump minimal required lightdm version for
6
  configure|upgrade)
7
    if [ -x /usr/lib/lightdm/lightdm-set-defaults ] ; then
8
      /usr/lib/lightdm/lightdm-set-defaults --keep-old --session=xubuntu || true
9
      /usr/lib/lightdm/lightdm-set-defaults --keep-old --greeter=lightdm-gtk-greeter || true
10
    fi
312 by Lionel Le Folgoc
* debian/postinst,debian/prerm: set up alternatives for lightdm.conf and
11
    ;;
12
esac
13
324 by Lionel Le Folgoc
* Finally add the lightdm greeter theme! lp: #861309
14
if [ "$1" = "configure" ] ; then
15
  update-alternatives --install /etc/lightdm/lightdm-gtk-greeter.conf \
16
    lightdm-gtk-greeter-config-derivative \
17
    /etc/xdg/xdg-xubuntu/lightdm/lightdm-gtk-greeter.conf 30
18
fi
19
176 by Lionel Le Folgoc
* New versioning scheme, includes the release version.
20
#DEBHELPER#