r25336 - in /desktop/experimental/gtk+3.0/debian: changelog libgtk3.0-bin.postrm libgtk3.0-bin.preinst
sjoerd at users.alioth.debian.org
sjoerd at users.alioth.debian.org
Sun Oct 10 13:08:48 UTC 2010
Author: sjoerd
Date: Sun Oct 10 13:08:18 2010
New Revision: 25336
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=25336
Log:
* debian/libgtk3-bin.preinst, debian/libgtk3-bin.postrm:
+ Divert gtk+2.0's update-icon-caches. The format remained the same so this
is safe to do
Added:
desktop/experimental/gtk+3.0/debian/libgtk3.0-bin.postrm
desktop/experimental/gtk+3.0/debian/libgtk3.0-bin.preinst
Modified:
desktop/experimental/gtk+3.0/debian/changelog
Modified: desktop/experimental/gtk+3.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gtk%2B3.0/debian/changelog?rev=25336&op=diff
==============================================================================
--- desktop/experimental/gtk+3.0/debian/changelog [utf-8] (original)
+++ desktop/experimental/gtk+3.0/debian/changelog [utf-8] Sun Oct 10 13:08:18 2010
@@ -21,8 +21,11 @@
* Update the symbols file
* Version various document index files so they don't conflict with their
gtk2 flavour
-
- -- Sjoerd Simons <sjoerd at debian.org> Sun, 10 Oct 2010 13:51:17 +0100
+ * debian/libgtk3-bin.preinst, debian/libgtk3-bin.postrm:
+ + Divert gtk+2.0's update-icon-caches. The format remained the same so this
+ is safe to do
+
+ -- Sjoerd Simons <sjoerd at debian.org> Sun, 10 Oct 2010 14:06:26 +0100
gtk+2.0 (2.21.5-1) experimental; urgency=low
Added: desktop/experimental/gtk+3.0/debian/libgtk3.0-bin.postrm
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gtk%2B3.0/debian/libgtk3.0-bin.postrm?rev=25336&op=file
==============================================================================
--- desktop/experimental/gtk+3.0/debian/libgtk3.0-bin.postrm (added)
+++ desktop/experimental/gtk+3.0/debian/libgtk3.0-bin.postrm [utf-8] Sun Oct 10 13:08:18 2010
@@ -1,0 +1,12 @@
+#!/bin/sh -e
+
+if [ "$1" = install ] || [ "$1" = upgrade ] ; then
+ dpkg-divert --add --package libgtk3.0-bin --rename \
+ --divert /usr/sbin/update-icon-caches.gtk2 \
+ /usr/sbin/update-icon-caches
+ dpkg-divert --add --package libgtk3.0-bin --rename \
+ --divert /usr/share/man/man8/update-icon-caches.gtk2.8.gz
+ /usr/share/man/man8/update-icon-caches.8.gz
+fi
+
+exit 0
Added: desktop/experimental/gtk+3.0/debian/libgtk3.0-bin.preinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/gtk%2B3.0/debian/libgtk3.0-bin.preinst?rev=25336&op=file
==============================================================================
--- desktop/experimental/gtk+3.0/debian/libgtk3.0-bin.preinst (added)
+++ desktop/experimental/gtk+3.0/debian/libgtk3.0-bin.preinst [utf-8] Sun Oct 10 13:08:18 2010
@@ -1,0 +1,12 @@
+#!/bin/sh -e
+
+if [ "$1" = remove ] ; then
+ dpkg-divert --remove --package libgtk3.0-bin --rename \
+ --divert /usr/sbin/update-icon-caches.gtk2 \
+ /usr/sbin/update-icon-caches
+ dpkg-divert --remove --package libgtk3.0-bin --rename \
+ --divert /usr/share/man/man8/update-icon-caches.gtk2.8.gz
+ /usr/share/man/man8/update-icon-caches.8.gz
+fi
+
+exit 0
More information about the pkg-gnome-commits
mailing list