diff -Nru ghostscript-9.05~dfsg/debian/changelog ghostscript-9.05~dfsg/debian/changelog --- ghostscript-9.05~dfsg/debian/changelog 2012-02-09 13:03:18.000000000 +0000 +++ ghostscript-9.05~dfsg/debian/changelog 2012-03-07 17:05:31.000000000 +0000 @@ -1,3 +1,16 @@ +ghostscript (9.05~dfsg-0ubuntu2) precise; urgency=low + + * debian/ghostscript-doc.install, debian/ghostscript-doc.doc-base: Install + the Ghostscript documentation into /usr/share/doc/ghostscript-doc instead + of /usr/share/doc/ghostscript (LP: #789235). + * debian/libgs__VER__-common.postinst.in, + debian/libgs__VER__-common.prerm.in: Create a symlink + /usr/share/ghostscript/current to the /usr/share/ghostscript/ + directory of the newest installed libgs-common package, to have + version-independent access to the Ghostscript files (LP: #327244). + + -- Till Kamppeter Wed, 7 Mar 2012 17:31:13 +0100 + ghostscript (9.05~dfsg-0ubuntu1) precise; urgency=low * New upstream release diff -Nru ghostscript-9.05~dfsg/debian/ghostscript-doc.doc-base ghostscript-9.05~dfsg/debian/ghostscript-doc.doc-base --- ghostscript-9.05~dfsg/debian/ghostscript-doc.doc-base 2011-11-24 03:43:21.000000000 +0000 +++ ghostscript-9.05~dfsg/debian/ghostscript-doc.doc-base 2012-03-07 17:01:54.000000000 +0000 @@ -6,5 +6,5 @@ Section: Text Format: HTML -Index: /usr/share/doc/ghostscript/index.html -Files: /usr/share/doc/ghostscript/*.htm* +Index: /usr/share/doc/ghostscript-doc/index.html +Files: /usr/share/doc/ghostscript-doc/*.htm* diff -Nru ghostscript-9.05~dfsg/debian/ghostscript-doc.install ghostscript-9.05~dfsg/debian/ghostscript-doc.install --- ghostscript-9.05~dfsg/debian/ghostscript-doc.install 2011-11-24 03:43:21.000000000 +0000 +++ ghostscript-9.05~dfsg/debian/ghostscript-doc.install 2012-03-07 17:35:41.000000000 +0000 @@ -1 +1 @@ -usr/share/doc/ghostscript/ +usr/share/doc/ghostscript/* usr/share/doc/ghostscript-doc diff -Nru ghostscript-9.05~dfsg/debian/libgs__VER__-common.postinst.in ghostscript-9.05~dfsg/debian/libgs__VER__-common.postinst.in --- ghostscript-9.05~dfsg/debian/libgs__VER__-common.postinst.in 1970-01-01 00:00:00.000000000 +0000 +++ ghostscript-9.05~dfsg/debian/libgs__VER__-common.postinst.in 2012-03-07 16:23:38.000000000 +0000 @@ -0,0 +1,13 @@ +#!/bin/sh +# postinst script for libgs__ABI__-common + +set -e + +update-alternatives --install /usr/share/ghostscript/current \ + ghostscript-current \ + /usr/share/ghostscript/__ABI__ \ + `echo '__ABI__' | sed -e 's/\.//'` || true + +#DEBHELPER# + +exit 0 diff -Nru ghostscript-9.05~dfsg/debian/libgs__VER__-common.prerm.in ghostscript-9.05~dfsg/debian/libgs__VER__-common.prerm.in --- ghostscript-9.05~dfsg/debian/libgs__VER__-common.prerm.in 1970-01-01 00:00:00.000000000 +0000 +++ ghostscript-9.05~dfsg/debian/libgs__VER__-common.prerm.in 2012-03-07 16:23:35.000000000 +0000 @@ -0,0 +1,14 @@ +#!/bin/sh +# prerm script for libgs__ABI__-common + +set -e + +if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ] ; then + update-alternatives --remove ghostscript-current \ + /usr/share/ghostscript/__ABI__ || true + +fi + +#DEBHELPER# + +exit 0