r54774 - in /desktop/unstable/gdm3/debian: changelog gdm3.postinst gdm3.preinst

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Sun Nov 5 20:02:37 UTC 2017


Author: biebl
Date: Sun Nov  5 20:02:37 2017
New Revision: 54774

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=54774
Log:
Drop obsolete maintainer scripts code handling upgrades from pre-jessie

Modified:
    desktop/unstable/gdm3/debian/changelog
    desktop/unstable/gdm3/debian/gdm3.postinst
    desktop/unstable/gdm3/debian/gdm3.preinst

Modified: desktop/unstable/gdm3/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm3/debian/changelog?rev=54774&op=diff
==============================================================================
--- desktop/unstable/gdm3/debian/changelog	[utf-8] (original)
+++ desktop/unstable/gdm3/debian/changelog	[utf-8] Sun Nov  5 20:02:37 2017
@@ -6,6 +6,7 @@
   * Drop obsolete alternative plymouth-dev Build-Depends
   * Update symbols files for libgdm1 for the ChoiceList API additions
   * Use dh_missing to list uninstalled files
+  * Drop obsolete maintainer scripts code handling upgrades from pre-jessie
 
  -- Michael Biebl <biebl at debian.org>  Sun, 05 Nov 2017 20:26:31 +0100
 

Modified: desktop/unstable/gdm3/debian/gdm3.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm3/debian/gdm3.postinst?rev=54774&op=diff
==============================================================================
--- desktop/unstable/gdm3/debian/gdm3.postinst	[utf-8] (original)
+++ desktop/unstable/gdm3/debian/gdm3.postinst	[utf-8] Sun Nov  5 20:02:37 2017
@@ -58,22 +58,6 @@
   fi
 fi
 
-if [ "$1" = configure ] && dpkg --compare-versions "$2" lt-nl "3.12.1" \
-	&& [ -d /var/lib/gdm3 ]; then
-  # Remove old autogenerated dconf settings
-  rm -rf /var/lib/gdm3/dconf
-
-  # DON'T DO THIS AT HOME, KIDS
-  # Convert the old GSettings settings file to a dconf one
-  # Yes it's stupid to just convert GSettings paths to dconf ones, but
-  # this is what the init script used to do.
-  if [ -f /etc/gdm3/greeter.gsettings ] && ! [ -f /etc/gdm3/greeter.dconf-defaults ]; then
-    awk '/^[ \t#]*\[.*\]/ { gsub("\\.","/"); } { print;}' \
-      /etc/gdm3/greeter.gsettings > /etc/gdm3/greeter.dconf-defaults
-    rm -f /etc/gdm3/greeter.gsettings
-  fi
-fi
-
 ucf --debconf-ok --three-way /usr/share/gdm/greeter.dconf-defaults /etc/gdm3/greeter.dconf-defaults
 ucfr gdm3 /etc/gdm3/greeter.dconf-defaults
 

Modified: desktop/unstable/gdm3/debian/gdm3.preinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gdm3/debian/gdm3.preinst?rev=54774&op=diff
==============================================================================
--- desktop/unstable/gdm3/debian/gdm3.preinst	[utf-8] (original)
+++ desktop/unstable/gdm3/debian/gdm3.preinst	[utf-8] Sun Nov  5 20:02:37 2017
@@ -1,13 +1,6 @@
 #!/bin/sh
 
 set -e
-
-if [ "$1" = "install" -o "$1" = "upgrade" ] && [ -n "$2" ] &&
-    dpkg --compare-versions "$2" le-nl "3.10.0.1-3~"; then
-    if [ -L /etc/pam.d/gdm-launch-environment ]; then
-        rm -f /etc/pam.d/gdm-launch-environment
-    fi
-fi
 
 if [ -n "$2" ] && dpkg --compare-versions "$2" lt 3.22; then
     echo "Enabling compatibility workaround for upgrades from Debian 8..."




More information about the pkg-gnome-commits mailing list