diff -Nru plr-8.2.0.1/debian/changelog plr-8.2.0.1/debian/changelog --- plr-8.2.0.1/debian/changelog 2007-08-03 09:28:26.000000000 +0000 +++ plr-8.2.0.1/debian/changelog 2007-08-03 09:28:27.000000000 +0000 @@ -1,3 +1,11 @@ +plr (1:8.2.0.1-1ubuntu1) gutsy; urgency=low + + * Set R_HOME environment variable in postgresql environment file + (LP: #130059) + * Update Maintainer field in debian/control + + -- Luca Falavigna Fri, 03 Aug 2007 09:23:00 +0000 + plr (1:8.2.0.1-1) unstable; urgency=low * New upstream version, now works with PostgreSQL 8.2. diff -Nru plr-8.2.0.1/debian/control plr-8.2.0.1/debian/control --- plr-8.2.0.1/debian/control 2007-08-03 09:28:26.000000000 +0000 +++ plr-8.2.0.1/debian/control 2007-08-03 09:28:27.000000000 +0000 @@ -1,7 +1,8 @@ Source: plr Priority: optional Section: libs -Maintainer: Martin Pitt +Maintainer: Ubuntu MOTU Developers +XSBC-Origina-Maintainer: Martin Pitt Uploaders: Oliver Elphick Build-Depends: debhelper (>= 4.0.0), postgresql-server-dev-8.2, r-base-core Standards-Version: 3.7.2 diff -Nru plr-8.2.0.1/debian/postinst plr-8.2.0.1/debian/postinst --- plr-8.2.0.1/debian/postinst 1970-01-01 00:00:00.000000000 +0000 +++ plr-8.2.0.1/debian/postinst 2007-08-03 09:28:27.000000000 +0000 @@ -0,0 +1,22 @@ +#!/bin/sh +# postinst script for plr + +set -e + +case "$1" in + configure) + echo -n "R_HOME = '/usr/lib/R'" >> /etc/postgresql/8.2/main/environment + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff -Nru plr-8.2.0.1/debian/postrm plr-8.2.0.1/debian/postrm --- plr-8.2.0.1/debian/postrm 1970-01-01 00:00:00.000000000 +0000 +++ plr-8.2.0.1/debian/postrm 2007-08-03 09:28:27.000000000 +0000 @@ -0,0 +1,19 @@ +#!/bin/sh +# postrm script for plr + +set -e + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + sed -i "s/R_HOME = '\/usr\/lib\/R'//" /etc/postgresql/8.2/main/environment + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0