postinst 283 Bytes
Newer Older
Nicolas Bruguier's avatar
Nicolas Bruguier committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh

set -e

# Add our session for consideration into LightDM configs
case "$1" in
  configure|upgrade)
    if [ -x /usr/lib/lightdm/lightdm-set-defaults ] ; then
        /usr/lib/lightdm/lightdm-set-defaults --keep-old --session=pantheon || true
    fi
  ;;
esac

#DEBHELPER#