r36722 - in /desktop/experimental/pygobject/debian: python-gi-dbg.preinst python-gobject-dbg.preinst

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Thu Feb 21 22:46:06 UTC 2013


Author: biebl
Date: Thu Feb 21 22:46:06 2013
New Revision: 36722

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=36722
Log:
Add preinst scripts for previous commit

Added:
    desktop/experimental/pygobject/debian/python-gi-dbg.preinst
    desktop/experimental/pygobject/debian/python-gobject-dbg.preinst

Added: desktop/experimental/pygobject/debian/python-gi-dbg.preinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/pygobject/debian/python-gi-dbg.preinst?rev=36722&op=file
==============================================================================
--- desktop/experimental/pygobject/debian/python-gi-dbg.preinst (added)
+++ desktop/experimental/pygobject/debian/python-gi-dbg.preinst [utf-8] Thu Feb 21 22:46:06 2013
@@ -1,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl 3.4.2-3; then
+    if [ -L /usr/share/doc/python-gi-dbg ]; then
+        rm -f /usr/share/doc/python-gi-dbg
+    fi
+fi
+
+#DEBHELPER#

Added: desktop/experimental/pygobject/debian/python-gobject-dbg.preinst
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/experimental/pygobject/debian/python-gobject-dbg.preinst?rev=36722&op=file
==============================================================================
--- desktop/experimental/pygobject/debian/python-gobject-dbg.preinst (added)
+++ desktop/experimental/pygobject/debian/python-gobject-dbg.preinst [utf-8] Thu Feb 21 22:46:06 2013
@@ -1,0 +1,11 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl 3.4.2-3; then
+    if [ -L /usr/share/doc/python-gobject-dbg ]; then
+        rm -f /usr/share/doc/python-gobject-dbg
+    fi
+fi
+
+#DEBHELPER#




More information about the pkg-gnome-commits mailing list