From dcc55a1cfa32068d0759c1c8307f6c07c11aec99 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 19 Oct 2012 08:15:39 -0700 Subject: Fri Oct 19 08:15:38 PDT 2012 --- community-testing/lxdm/lxdm.install | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 community-testing/lxdm/lxdm.install (limited to 'community-testing/lxdm/lxdm.install') diff --git a/community-testing/lxdm/lxdm.install b/community-testing/lxdm/lxdm.install new file mode 100644 index 000000000..4d1285dc5 --- /dev/null +++ b/community-testing/lxdm/lxdm.install @@ -0,0 +1,18 @@ +post_install() { + if ! getent group lxdm > /dev/null ; then + groupadd --system lxdm + chgrp -R lxdm /var/lib/lxdm + chgrp lxdm /etc/lxdm/lxdm.conf + chmod +r /etc/lxdm/lxdm.conf + fi +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + if ! getent group lxdm > /dev/null ; then + groupdel lxdm + fi +} -- cgit v1.2.3-54-g00ecf