[Pkg-xfce-commits] r6086 - in goodies/tags/lightdm: . 1.0.0-3/debian
Yves-Alexis Perez
corsac at alioth.debian.org
Thu Sep 29 09:52:16 UTC 2011
Author: corsac
Date: 2011-09-29 21:52:16 +0000 (Thu, 29 Sep 2011)
New Revision: 6086
Added:
goodies/tags/lightdm/1.0.0-3/
goodies/tags/lightdm/1.0.0-3/debian/changelog
goodies/tags/lightdm/1.0.0-3/debian/lightdm-gtk-greeter.postinst
goodies/tags/lightdm/1.0.0-3/debian/lightdm-gtk-greeter.prerm
goodies/tags/lightdm/1.0.0-3/debian/lightdm-qt-greeter.postinst
goodies/tags/lightdm/1.0.0-3/debian/lightdm-qt-greeter.prerm
Removed:
goodies/tags/lightdm/1.0.0-3/debian/changelog
goodies/tags/lightdm/1.0.0-3/debian/lightdm-gtk-greeter.postinst
goodies/tags/lightdm/1.0.0-3/debian/lightdm-gtk-greeter.prerm
goodies/tags/lightdm/1.0.0-3/debian/lightdm-qt-greeter.postinst
goodies/tags/lightdm/1.0.0-3/debian/lightdm-qt-greeter.prerm
Log:
[svn-buildpackage] Tagging lightdm 1.0.0-3
Deleted: goodies/tags/lightdm/1.0.0-3/debian/changelog
===================================================================
--- goodies/trunk/lightdm/debian/changelog 2011-09-29 18:03:34 UTC (rev 6081)
+++ goodies/tags/lightdm/1.0.0-3/debian/changelog 2011-09-29 21:52:16 UTC (rev 6086)
@@ -1,131 +0,0 @@
-lightdm (1.0.0-3) UNRELEASED; urgency=low
-
- * debian/lightdm-{gtk,qt}.{postinst,prerm}:
- - fix DEB_HOST_MULTIARCH variable use ${} instead of $()
-
- -- Yves-Alexis Perez <corsac at debian.org> Thu, 29 Sep 2011 20:02:17 +0200
-
-lightdm (1.0.0-2) unstable; urgency=low
-
- * debian/rules:
- - correctly enable pie and bindnow.
- - use a variable for multi-arch path instead of *.
- - use autoreconf dh addon
- * debian/control:
- - add build-dep on dh-autoreconf and gtk-doc-tools
- * debian/patches:
- - 06_move-lightdm-set-defaults-to-pkglibexecdir added, move
- lightdm-set-defaults to pkglibexecdir instead of libexecdir.
- * debian/lightdm-{gtk,qt}-greeter.{postinst,prerm}:
- - use variable for multi-arch path instead of *.
- - update lightdm-set-defaults path to re-add lightdm folder.
-
- -- Yves-Alexis Perez <corsac at debian.org> Thu, 29 Sep 2011 12:09:35 +0200
-
-lightdm (1.0.0-1) unstable; urgency=low
-
- * New upstream release.
- * debian/patches:
- - all patches refreshed
- - 02_default-config: explicitly disable tcp listen.
- * debian/rules:
- - drop all hardening rules now done by dh in compat mode 9, but manually
- add pie and bindnow.
- - add -Wl,--as-needed -Wl,-O1 to LDFLAGS.
- - update gdmflexiserver path for multi-arch paths.
- * debian/compat bumped to 9.
- * debian/control:
- - added build-deb on dpkg-dev (>= 1.16.1) for hardening support.
- - dropped hardening-includes from build-depends, now superseded
- - update debhelper build-dep to 8.9.4 for compat mode v9.
- - add Pre-Depends: ${misc:Pre-Depends} to the lib packages.
- - add Recommends: on gnome-icon-theme to gtk greeter. closes: #643291
- * debian/liblightdm-gobject-1-0.install,
- debian/liblightdm-gobject-dev.install, debian/liblightdm-qt-1-0.install,
- debian/liblightdm-qt-dev.install, debian/lightdm.install:
- - update to use multi-arch folders.
- * debian/lightdm.install:
- - in v9 compat mode, libexecdir doesn't have the package name added so
- update in consequence
- * debian/liblightdm*.{postinst,prerm}:
- - update path to lightdm-set-defaults.
- * debian/lightdm.postinst:
- - don't fail if one can't reload dbus, like in a chroot. closes: #642295
-
- -- Yves-Alexis Perez <corsac at debian.org> Thu, 29 Sep 2011 07:39:18 +0200
-
-lightdm (0.9.7-1) unstable; urgency=low
-
- * New upstream release.
- - fix consolekit session issues.
-
- -- Yves-Alexis Perez <corsac at debian.org> Fri, 16 Sep 2011 08:01:12 +0200
-
-lightdm (0.9.6-1) unstable; urgency=low
-
- * New upstream release:
- - don't write user files as root to prevent symlinks attacks
- [CVE-2011-3349] closes: #639151
- * debian/patches:
- - 01_set-default-path, 02_default-config, 03_quit-plymouth,
- 04_default-gtk-greeter-config refreshed.
- - 05_always-export-XAUTHORITY dropped, included upstream.
- - 05_dont-add-pkglibexecdir-path added, don't add /usr/lib/lightdm/lightdm
- to the PATH, it's ugly.
- * debian/rules:
- - don't install gdmflexiserver script for now until the PATH issue is
- solved.
- * debian/lightdm.install
- - install lightdm-set-default and dm-tool there.
- * debian/lightdm-{gtk,qt}-greeter.{config,templates,postinst,prerm}:
- - provide a way to select the current greeter through debconf. Other
- packages providing a greeter use the same templates/config to register
- themselves in debconf.
- * debian/control:
- - add suggests on accountsservice.
-
- -- Yves-Alexis Perez <corsac at debian.org> Thu, 15 Sep 2011 11:36:21 +0200
-
-lightdm (0.9.2-3) unstable; urgency=low
-
- * debian/patches:
- - 05_always-export-XAUTHORITY added, always export path to xauth file.
- * debian/lightdm-xsession.desktop:
- - provide a default xsession desktop file. closes: #636111
-
- -- Yves-Alexis Perez <corsac at debian.org> Sat, 06 Aug 2011 11:34:57 +0200
-
-lightdm (0.9.2-2) unstable; urgency=low
-
- * debian/control;
- - use real package name in greeter dependency. closes: #636020
- - recommends desktop-base (for default background) and
- gnome-theme-standards (for Adwaita GTK+ 3 theme) in GTK+ greeter.
- * debian/patches:
- - 04_default-gtk-greeter-config added, tune GTK+ greeter config to match
- Debian themes.
-
- -- Yves-Alexis Perez <corsac at debian.org> Sat, 30 Jul 2011 20:03:59 +0200
-
-lightdm (0.9.2-1) unstable; urgency=low
-
- * New upstream release.
- * debian/lightdm.install:
- - install locale files in lightdm package.
- * debian/rules:
- - set greeter user at build time.
- * debian/control:
- - rename the greeter packages to fit what's in Ubuntu.
- - lightdm-vala doesn't provide a greeter anymore.
- * debian/lightdm{,-gtk-greeter}.install:
- - ship GTK+ greeter config file in the lightdm-gtk-greeter package.
- * debian/lightdm.{config,templates} and debian/po debconf files added from
- Ubuntu package.
-
- -- Yves-Alexis Perez <corsac at debian.org> Fri, 29 Jul 2011 20:32:36 +0200
-
-lightdm (0.9.0-1) unstable; urgency=low
-
- * Initial release. closes: #615591
-
- -- Yves-Alexis Perez <corsac at debian.org> Thu, 28 Jul 2011 22:39:44 +0200
Copied: goodies/tags/lightdm/1.0.0-3/debian/changelog (from rev 6083, goodies/trunk/lightdm/debian/changelog)
===================================================================
--- goodies/tags/lightdm/1.0.0-3/debian/changelog (rev 0)
+++ goodies/tags/lightdm/1.0.0-3/debian/changelog 2011-09-29 21:52:16 UTC (rev 6086)
@@ -0,0 +1,131 @@
+lightdm (1.0.0-3) unstable; urgency=low
+
+ * debian/lightdm-{gtk,qt}.{postinst,prerm}:
+ - don't use dpkg-architecture since it's in dpkg-dev. closes: #643792
+
+ -- Yves-Alexis Perez <corsac at debian.org> Thu, 29 Sep 2011 22:26:18 +0200
+
+lightdm (1.0.0-2) unstable; urgency=low
+
+ * debian/rules:
+ - correctly enable pie and bindnow.
+ - use a variable for multi-arch path instead of *.
+ - use autoreconf dh addon
+ * debian/control:
+ - add build-dep on dh-autoreconf and gtk-doc-tools
+ * debian/patches:
+ - 06_move-lightdm-set-defaults-to-pkglibexecdir added, move
+ lightdm-set-defaults to pkglibexecdir instead of libexecdir.
+ * debian/lightdm-{gtk,qt}-greeter.{postinst,prerm}:
+ - use variable for multi-arch path instead of *.
+ - update lightdm-set-defaults path to re-add lightdm folder.
+
+ -- Yves-Alexis Perez <corsac at debian.org> Thu, 29 Sep 2011 12:09:35 +0200
+
+lightdm (1.0.0-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/patches:
+ - all patches refreshed
+ - 02_default-config: explicitly disable tcp listen.
+ * debian/rules:
+ - drop all hardening rules now done by dh in compat mode 9, but manually
+ add pie and bindnow.
+ - add -Wl,--as-needed -Wl,-O1 to LDFLAGS.
+ - update gdmflexiserver path for multi-arch paths.
+ * debian/compat bumped to 9.
+ * debian/control:
+ - added build-deb on dpkg-dev (>= 1.16.1) for hardening support.
+ - dropped hardening-includes from build-depends, now superseded
+ - update debhelper build-dep to 8.9.4 for compat mode v9.
+ - add Pre-Depends: ${misc:Pre-Depends} to the lib packages.
+ - add Recommends: on gnome-icon-theme to gtk greeter. closes: #643291
+ * debian/liblightdm-gobject-1-0.install,
+ debian/liblightdm-gobject-dev.install, debian/liblightdm-qt-1-0.install,
+ debian/liblightdm-qt-dev.install, debian/lightdm.install:
+ - update to use multi-arch folders.
+ * debian/lightdm.install:
+ - in v9 compat mode, libexecdir doesn't have the package name added so
+ update in consequence
+ * debian/liblightdm*.{postinst,prerm}:
+ - update path to lightdm-set-defaults.
+ * debian/lightdm.postinst:
+ - don't fail if one can't reload dbus, like in a chroot. closes: #642295
+
+ -- Yves-Alexis Perez <corsac at debian.org> Thu, 29 Sep 2011 07:39:18 +0200
+
+lightdm (0.9.7-1) unstable; urgency=low
+
+ * New upstream release.
+ - fix consolekit session issues.
+
+ -- Yves-Alexis Perez <corsac at debian.org> Fri, 16 Sep 2011 08:01:12 +0200
+
+lightdm (0.9.6-1) unstable; urgency=low
+
+ * New upstream release:
+ - don't write user files as root to prevent symlinks attacks
+ [CVE-2011-3349] closes: #639151
+ * debian/patches:
+ - 01_set-default-path, 02_default-config, 03_quit-plymouth,
+ 04_default-gtk-greeter-config refreshed.
+ - 05_always-export-XAUTHORITY dropped, included upstream.
+ - 05_dont-add-pkglibexecdir-path added, don't add /usr/lib/lightdm/lightdm
+ to the PATH, it's ugly.
+ * debian/rules:
+ - don't install gdmflexiserver script for now until the PATH issue is
+ solved.
+ * debian/lightdm.install
+ - install lightdm-set-default and dm-tool there.
+ * debian/lightdm-{gtk,qt}-greeter.{config,templates,postinst,prerm}:
+ - provide a way to select the current greeter through debconf. Other
+ packages providing a greeter use the same templates/config to register
+ themselves in debconf.
+ * debian/control:
+ - add suggests on accountsservice.
+
+ -- Yves-Alexis Perez <corsac at debian.org> Thu, 15 Sep 2011 11:36:21 +0200
+
+lightdm (0.9.2-3) unstable; urgency=low
+
+ * debian/patches:
+ - 05_always-export-XAUTHORITY added, always export path to xauth file.
+ * debian/lightdm-xsession.desktop:
+ - provide a default xsession desktop file. closes: #636111
+
+ -- Yves-Alexis Perez <corsac at debian.org> Sat, 06 Aug 2011 11:34:57 +0200
+
+lightdm (0.9.2-2) unstable; urgency=low
+
+ * debian/control;
+ - use real package name in greeter dependency. closes: #636020
+ - recommends desktop-base (for default background) and
+ gnome-theme-standards (for Adwaita GTK+ 3 theme) in GTK+ greeter.
+ * debian/patches:
+ - 04_default-gtk-greeter-config added, tune GTK+ greeter config to match
+ Debian themes.
+
+ -- Yves-Alexis Perez <corsac at debian.org> Sat, 30 Jul 2011 20:03:59 +0200
+
+lightdm (0.9.2-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/lightdm.install:
+ - install locale files in lightdm package.
+ * debian/rules:
+ - set greeter user at build time.
+ * debian/control:
+ - rename the greeter packages to fit what's in Ubuntu.
+ - lightdm-vala doesn't provide a greeter anymore.
+ * debian/lightdm{,-gtk-greeter}.install:
+ - ship GTK+ greeter config file in the lightdm-gtk-greeter package.
+ * debian/lightdm.{config,templates} and debian/po debconf files added from
+ Ubuntu package.
+
+ -- Yves-Alexis Perez <corsac at debian.org> Fri, 29 Jul 2011 20:32:36 +0200
+
+lightdm (0.9.0-1) unstable; urgency=low
+
+ * Initial release. closes: #615591
+
+ -- Yves-Alexis Perez <corsac at debian.org> Thu, 28 Jul 2011 22:39:44 +0200
Deleted: goodies/tags/lightdm/1.0.0-3/debian/lightdm-gtk-greeter.postinst
===================================================================
--- goodies/trunk/lightdm/debian/lightdm-gtk-greeter.postinst 2011-09-29 18:03:34 UTC (rev 6081)
+++ goodies/tags/lightdm/1.0.0-3/debian/lightdm-gtk-greeter.postinst 2011-09-29 21:52:16 UTC (rev 6086)
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-set -e
-
-. /usr/share/debconf/confmodule
-
-# using this greeter?
-GREETER=
-DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
-if db_get shared/lightdm-greeter; then
- GREETER="$RET"
-fi
-
-if [ -n "${GREETER}" ];
-then
- LIGHTDM_SET_DEFAULTS=/usr/lib/${DEB_HOST_MULTIARCH}/lightdm/lightdm-set-defaults
- if [ -x "${LIGHTDM_SET_DEFAULTS}" ];
- then
- "${LIGHTDM_SET_DEFAULTS}" --greeter "${GREETER}"
- fi
-fi
-db_stop || true
-
-#DEBHELPER#
-
-exit 0
Copied: goodies/tags/lightdm/1.0.0-3/debian/lightdm-gtk-greeter.postinst (from rev 6082, goodies/trunk/lightdm/debian/lightdm-gtk-greeter.postinst)
===================================================================
--- goodies/tags/lightdm/1.0.0-3/debian/lightdm-gtk-greeter.postinst (rev 0)
+++ goodies/tags/lightdm/1.0.0-3/debian/lightdm-gtk-greeter.postinst 2011-09-29 21:52:16 UTC (rev 6086)
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+# using this greeter?
+GREETER=
+if db_get shared/lightdm-greeter; then
+ GREETER="$RET"
+fi
+
+if [ -n "${GREETER}" ];
+then
+ LIGHTDM_SET_DEFAULTS=/usr/lib/*/lightdm/lightdm-set-defaults
+ if [ -x "${LIGHTDM_SET_DEFAULTS}" ];
+ then
+ "${LIGHTDM_SET_DEFAULTS}" --greeter "${GREETER}"
+ fi
+fi
+db_stop || true
+
+#DEBHELPER#
+
+exit 0
Deleted: goodies/tags/lightdm/1.0.0-3/debian/lightdm-gtk-greeter.prerm
===================================================================
--- goodies/trunk/lightdm/debian/lightdm-gtk-greeter.prerm 2011-09-29 18:03:34 UTC (rev 6081)
+++ goodies/tags/lightdm/1.0.0-3/debian/lightdm-gtk-greeter.prerm 2011-09-29 21:52:16 UTC (rev 6086)
@@ -1,47 +0,0 @@
-#!/bin/bash
-# Debian lightdm package pre-removal script
-# © 2010 Yves-Alexis Perez, using lightdm script which is
-# Copyright 2001 Branden Robinson.
-# Licensed under the GNU General Public License, version 2. See the file
-# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
-# Acknowlegements to Stephen Early, Mark Eichin, and Manoj Srivastava.
-
-set -e
-
-THIS_PACKAGE="lightdm-gtk-greeter"
-DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
-LIGHTDM_SET_DEFAULTS=/usr/lib/${DEB_HOST_MULTIARCH}/lightdm/lightdm-set-defaults
-
-if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then
- if [ -e /usr/share/debconf/confmodule ]; then
- . /usr/share/debconf/confmodule
- # disown this question
- db_unregister shared/lightdm-greeter || true
- # does the question still exist?
- if db_get shared/lightdm-greeter; then
- db_metaget shared/lightdm-greeter owners
- db_subst shared/lightdm-greeter choices "$RET"
- db_get shared/lightdm-greeter
- # are we removing the currently selected lightdm greeter?
- if [ "$THIS_PACKAGE" = "$RET" ]; then
- # ask the user to choose a new default
- db_fset shared/lightdm-greeter seen false
- db_input critical shared/lightdm-greeter || true
- db_go
-
- GREETER=
- if db_get shared/lightdm-greeter; then
- GREETER="$RET"
- fi
- if [ -n "${GREETER}" ] && [ -x "${LIGHTDM_SET_DEFAULTS}" ];
- then
- "${LIGHTDM_SET_DEFAULTS}" --greeter "${GREETER}"
- fi
- fi
- fi
- fi
-fi
-
-#DEBHELPER#
-
-exit 0
Copied: goodies/tags/lightdm/1.0.0-3/debian/lightdm-gtk-greeter.prerm (from rev 6082, goodies/trunk/lightdm/debian/lightdm-gtk-greeter.prerm)
===================================================================
--- goodies/tags/lightdm/1.0.0-3/debian/lightdm-gtk-greeter.prerm (rev 0)
+++ goodies/tags/lightdm/1.0.0-3/debian/lightdm-gtk-greeter.prerm 2011-09-29 21:52:16 UTC (rev 6086)
@@ -0,0 +1,46 @@
+#!/bin/bash
+# Debian lightdm package pre-removal script
+# © 2010 Yves-Alexis Perez, using lightdm script which is
+# Copyright 2001 Branden Robinson.
+# Licensed under the GNU General Public License, version 2. See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+# Acknowlegements to Stephen Early, Mark Eichin, and Manoj Srivastava.
+
+set -e
+
+THIS_PACKAGE="lightdm-gtk-greeter"
+LIGHTDM_SET_DEFAULTS=/usr/lib/*/lightdm/lightdm-set-defaults
+
+if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then
+ if [ -e /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+ # disown this question
+ db_unregister shared/lightdm-greeter || true
+ # does the question still exist?
+ if db_get shared/lightdm-greeter; then
+ db_metaget shared/lightdm-greeter owners
+ db_subst shared/lightdm-greeter choices "$RET"
+ db_get shared/lightdm-greeter
+ # are we removing the currently selected lightdm greeter?
+ if [ "$THIS_PACKAGE" = "$RET" ]; then
+ # ask the user to choose a new default
+ db_fset shared/lightdm-greeter seen false
+ db_input critical shared/lightdm-greeter || true
+ db_go
+
+ GREETER=
+ if db_get shared/lightdm-greeter; then
+ GREETER="$RET"
+ fi
+ if [ -n "${GREETER}" ] && [ -x "${LIGHTDM_SET_DEFAULTS}" ];
+ then
+ "${LIGHTDM_SET_DEFAULTS}" --greeter "${GREETER}"
+ fi
+ fi
+ fi
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
Deleted: goodies/tags/lightdm/1.0.0-3/debian/lightdm-qt-greeter.postinst
===================================================================
--- goodies/trunk/lightdm/debian/lightdm-qt-greeter.postinst 2011-09-29 18:03:34 UTC (rev 6081)
+++ goodies/tags/lightdm/1.0.0-3/debian/lightdm-qt-greeter.postinst 2011-09-29 21:52:16 UTC (rev 6086)
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-set -e
-
-. /usr/share/debconf/confmodule
-
-# using this greeter?
-GREETER=
-DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
-if db_get shared/lightdm-greeter; then
- GREETER="$RET"
-fi
-
-if [ -n "${GREETER}" ];
-then
- LIGHTDM_SET_DEFAULTS=/usr/lib/${DEB_HOST_MULTIARCH}/lightdm/lightdm-set-defaults
- if [ -x "${LIGHTDM_SET_DEFAULTS}" ];
- then
- "${LIGHTDM_SET_DEFAULTS}" --greeter "${GREETER}"
- fi
-fi
-db_stop || true
-
-#DEBHELPER#
-
-exit 0
Copied: goodies/tags/lightdm/1.0.0-3/debian/lightdm-qt-greeter.postinst (from rev 6082, goodies/trunk/lightdm/debian/lightdm-qt-greeter.postinst)
===================================================================
--- goodies/tags/lightdm/1.0.0-3/debian/lightdm-qt-greeter.postinst (rev 0)
+++ goodies/tags/lightdm/1.0.0-3/debian/lightdm-qt-greeter.postinst 2011-09-29 21:52:16 UTC (rev 6086)
@@ -0,0 +1,25 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+# using this greeter?
+GREETER=
+if db_get shared/lightdm-greeter; then
+ GREETER="$RET"
+fi
+
+if [ -n "${GREETER}" ];
+then
+ LIGHTDM_SET_DEFAULTS=/usr/lib/*/lightdm/lightdm-set-defaults
+ if [ -x "${LIGHTDM_SET_DEFAULTS}" ];
+ then
+ "${LIGHTDM_SET_DEFAULTS}" --greeter "${GREETER}"
+ fi
+fi
+db_stop || true
+
+#DEBHELPER#
+
+exit 0
Deleted: goodies/tags/lightdm/1.0.0-3/debian/lightdm-qt-greeter.prerm
===================================================================
--- goodies/trunk/lightdm/debian/lightdm-qt-greeter.prerm 2011-09-29 18:03:34 UTC (rev 6081)
+++ goodies/tags/lightdm/1.0.0-3/debian/lightdm-qt-greeter.prerm 2011-09-29 21:52:16 UTC (rev 6086)
@@ -1,47 +0,0 @@
-#!/bin/bash
-# Debian lightdm package pre-removal script
-# © 2010 Yves-Alexis Perez, using lightdm script which is
-# Copyright 2001 Branden Robinson.
-# Licensed under the GNU General Public License, version 2. See the file
-# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
-# Acknowlegements to Stephen Early, Mark Eichin, and Manoj Srivastava.
-
-set -e
-
-THIS_PACKAGE="lightdm-qt-greeter"
-DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
-LIGHTDM_SET_DEFAULTS=/usr/lib/${DEB_HOST_MULTIARCH}/lightdm/lightdm-set-defaults
-
-if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then
- if [ -e /usr/share/debconf/confmodule ]; then
- . /usr/share/debconf/confmodule
- # disown this question
- db_unregister shared/lightdm-greeter || true
- # does the question still exist?
- if db_get shared/lightdm-greeter; then
- db_metaget shared/lightdm-greeter owners
- db_subst shared/lightdm-greeter choices "$RET"
- db_get shared/lightdm-greeter
- # are we removing the currently selected lightdm greeter?
- if [ "$THIS_PACKAGE" = "$RET" ]; then
- # ask the user to choose a new default
- db_fset shared/lightdm-greeter seen false
- db_input critical shared/lightdm-greeter || true
- db_go
-
- GREETER=
- if db_get shared/lightdm-greeter; then
- GREETER="$RET"
- fi
- if [ -n "${GREETER}" ] && [ -x "${LIGHTDM_SET_DEFAULTS}" ];
- then
- "${LIGHTDM_SET_DEFAULTS}" --greeter "${GREETER}"
- fi
- fi
- fi
- fi
-fi
-
-#DEBHELPER#
-
-exit 0
Copied: goodies/tags/lightdm/1.0.0-3/debian/lightdm-qt-greeter.prerm (from rev 6082, goodies/trunk/lightdm/debian/lightdm-qt-greeter.prerm)
===================================================================
--- goodies/tags/lightdm/1.0.0-3/debian/lightdm-qt-greeter.prerm (rev 0)
+++ goodies/tags/lightdm/1.0.0-3/debian/lightdm-qt-greeter.prerm 2011-09-29 21:52:16 UTC (rev 6086)
@@ -0,0 +1,46 @@
+#!/bin/bash
+# Debian lightdm package pre-removal script
+# © 2010 Yves-Alexis Perez, using lightdm script which is
+# Copyright 2001 Branden Robinson.
+# Licensed under the GNU General Public License, version 2. See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+# Acknowlegements to Stephen Early, Mark Eichin, and Manoj Srivastava.
+
+set -e
+
+THIS_PACKAGE="lightdm-qt-greeter"
+LIGHTDM_SET_DEFAULTS=/usr/lib/*/lightdm/lightdm-set-defaults
+
+if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then
+ if [ -e /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+ # disown this question
+ db_unregister shared/lightdm-greeter || true
+ # does the question still exist?
+ if db_get shared/lightdm-greeter; then
+ db_metaget shared/lightdm-greeter owners
+ db_subst shared/lightdm-greeter choices "$RET"
+ db_get shared/lightdm-greeter
+ # are we removing the currently selected lightdm greeter?
+ if [ "$THIS_PACKAGE" = "$RET" ]; then
+ # ask the user to choose a new default
+ db_fset shared/lightdm-greeter seen false
+ db_input critical shared/lightdm-greeter || true
+ db_go
+
+ GREETER=
+ if db_get shared/lightdm-greeter; then
+ GREETER="$RET"
+ fi
+ if [ -n "${GREETER}" ] && [ -x "${LIGHTDM_SET_DEFAULTS}" ];
+ then
+ "${LIGHTDM_SET_DEFAULTS}" --greeter "${GREETER}"
+ fi
+ fi
+ fi
+ fi
+fi
+
+#DEBHELPER#
+
+exit 0
More information about the Pkg-xfce-commits
mailing list