r37850 - in /desktop/unstable/gnome-themes-standard/debian: changelog gnome-accessibility-themes.postinst

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Thu May 23 16:59:28 UTC 2013


Author: biebl
Date: Thu May 23 16:59:28 2013
New Revision: 37850

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=37850
Log:
The LowContrast and HighContrastInverse themes were dropped upstream.
Clean up the icon cache files and directories on upgrades.

Added:
    desktop/unstable/gnome-themes-standard/debian/gnome-accessibility-themes.postinst
Modified:
    desktop/unstable/gnome-themes-standard/debian/changelog

Modified: desktop/unstable/gnome-themes-standard/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-themes-standard/debian/changelog?rev=37850&op=diff
==============================================================================
--- desktop/unstable/gnome-themes-standard/debian/changelog [utf-8] (original)
+++ desktop/unstable/gnome-themes-standard/debian/changelog [utf-8] Thu May 23 16:59:28 2013
@@ -8,6 +8,8 @@
   * Upload to unstable.
   * New upstream release.
   * Bump Standards-Version to 3.9.4. No further changes.
+  * The LowContrast and HighContrastInverse themes were dropped upstream.
+    Clean up the icon cache files and directories on upgrades.
 
  -- Michael Biebl <biebl at debian.org>  Thu, 23 May 2013 17:00:03 +0200
 

Added: desktop/unstable/gnome-themes-standard/debian/gnome-accessibility-themes.postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gnome-themes-standard/debian/gnome-accessibility-themes.postinst?rev=37850&op=file
==============================================================================
--- desktop/unstable/gnome-themes-standard/debian/gnome-accessibility-themes.postinst (added)
+++ desktop/unstable/gnome-themes-standard/debian/gnome-accessibility-themes.postinst [utf-8] Thu May 23 16:59:28 2013
@@ -1,0 +1,16 @@
+#!/bin/sh
+set -e
+
+# The LowContrast and HighContrastInverse themes were dropped in 3.6.
+# Cleanup the directories on upgrades.
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt "3.8.1-1" ; then
+    for theme in LowContrast HighContrastInverse ; do
+        dir=/usr/share/icons/$theme
+        if [ -d $dir ] ; then
+            rm -f $dir/icon-theme.cache
+            rmdir --ignore-fail-on-non-empty $dir
+        fi
+    done
+fi
+
+#DEBHELPER#




More information about the pkg-gnome-commits mailing list