#!/bin/sh -e # If file not present we must create it CUSTOM_CONF="/usr/share/lliurex-gdm-lite-pure/gdm-custom.conf" ETC_CUSTOM_CONF="/etc/gdm/custom.conf" [ -e "$ETC_CUSTOM_CONF" ] || cp -f "$CUSTOM_CONF" "$ETC_CUSTOM_CONF" lliurex-dmrc add Desktop/Session=Lite || true [ -x /usr/bin/update-gconf-defaults ] && /usr/bin/update-gconf-defaults [ -x /usr/sbin/update-mime ] && /usr/sbin/update-mime exit 0