r19494 - in /packages/unstable/gnome-app-install/debian: changelog links postinst prerm
jak at users.alioth.debian.org
jak at users.alioth.debian.org
Thu Apr 9 19:00:15 UTC 2009
Author: jak
Date: Thu Apr 9 19:00:15 2009
New Revision: 19494
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=19494
Log:
* debian/postinst, debian/prerm, debian/links:
- Provide an alternative for gstreamer-codec-install, but use of the
gnome-codec-install is recommended (g-c-i has a higher priority).
Added:
packages/unstable/gnome-app-install/debian/prerm
Modified:
packages/unstable/gnome-app-install/debian/changelog
packages/unstable/gnome-app-install/debian/links
packages/unstable/gnome-app-install/debian/postinst
Modified: packages/unstable/gnome-app-install/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gnome-app-install/debian/changelog?rev=19494&op=diff
==============================================================================
--- packages/unstable/gnome-app-install/debian/changelog (original)
+++ packages/unstable/gnome-app-install/debian/changelog Thu Apr 9 19:00:15 2009
@@ -3,6 +3,9 @@
* New upstream release (Closes: #523307)
* debian/patches/05_fix_spelling.patch:
- Rebase against the new release
+ * debian/postinst, debian/prerm, debian/links:
+ - Provide an alternative for gstreamer-codec-install, but use of the
+ gnome-codec-install is recommended (g-c-i has a higher priority).
-- Julian Andres Klode <jak at debian.org> Thu, 09 Apr 2009 14:28:28 +0200
Modified: packages/unstable/gnome-app-install/debian/links
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gnome-app-install/debian/links?rev=19494&op=diff
==============================================================================
--- packages/unstable/gnome-app-install/debian/links (original)
+++ packages/unstable/gnome-app-install/debian/links Thu Apr 9 19:00:15 2009
@@ -1,2 +1,1 @@
-usr/bin/gnome-app-install usr/bin/gnome-codec-install
-usr/share/man/man1/gnome-app-install.1.gz usr/share/man/man1/gnome-codec-install.1.gz
+
Modified: packages/unstable/gnome-app-install/debian/postinst
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gnome-app-install/debian/postinst?rev=19494&op=diff
==============================================================================
--- packages/unstable/gnome-app-install/debian/postinst (original)
+++ packages/unstable/gnome-app-install/debian/postinst Thu Apr 9 19:00:15 2009
@@ -6,6 +6,16 @@
if [ "$1" = "configure" ]; then
# cache the application data
- /usr/sbin/update-app-install
+ update-app-install
+ # Provides a gstreamer codec installer
+ update-alternatives \
+ --install \
+ /usr/bin/gstreamer-codec-install \
+ gstreamer-codec-install \
+ /usr/bin/gnome-app-install \
+ 80 \
+ --slave \
+ /usr/share/man/man1/gstreamer-codec-install.1.gz \
+ gstreamer-codec-install.1.gz \
+ /usr/share/man/man1/gnome-app-install.1.gz
fi
-
Added: packages/unstable/gnome-app-install/debian/prerm
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/gnome-app-install/debian/prerm?rev=19494&op=file
==============================================================================
--- packages/unstable/gnome-app-install/debian/prerm (added)
+++ packages/unstable/gnome-app-install/debian/prerm Thu Apr 9 19:00:15 2009
@@ -1,0 +1,14 @@
+#!/bin/sh
+# prerm script for gnome-app-install
+
+set -e
+
+if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ] ; then
+ update-alternatives --remove \
+ gstreamer-codec-install /usr/bin/gnome-app-install || true
+fi
+
+#DEBHELPER#
+
+exit 0
+
More information about the pkg-gnome-commits
mailing list