From a5ed49b93e3a03189425f4c3ed93fa0850e26cf1 Mon Sep 17 00:00:00 2001 From: Julien Lavergne Date: Sun, 14 Feb 2010 12:31:48 +0100 Subject: [PATCH] Add missing files --- debian/postinst | 11 +++++++++++ debian/prerm | 10 ++++++++++ 2 files changed, 21 insertions(+) create mode 100644 debian/postinst create mode 100644 debian/prerm diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..ab7b202 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,11 @@ +#!/bin/sh -e + +set -e + +if [ "$1" = configure ]; then + update-alternatives --install /etc/lxdm/default.conf \ + lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf 60 +fi + +#DEBHELPER# +exit 0 diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..297ce34 --- /dev/null +++ b/debian/prerm @@ -0,0 +1,10 @@ +#!/bin/sh -e + +set -e + +if [ "$1" = "remove" ] || [ "$1" = upgrade ]; then + update-alternatives --remove lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf +fi + +#DEBHELPER# +exit 0