Re: please unblock pgadmin3 1.8.4-2
* Pierre Habouzit <madcoder@debian.org> [2008-08-23 20:08:11 CEST]:
> On Sat, Aug 23, 2008 at 05:54:43PM +0000, Gerfried Fuchs wrote:
> > I uploaded a new version of pgadmin3 and think it would be really kind
> > to have it in lenny. There is one fix for something that made the
> > package end up with an empty doc dir on upgrades, and fixes to the
> > desktop file, no code changes to the actual program. Please find
> > attached the interdiff for your convenience, and the changelog inline:
>
> unblocked.
Unfortunately the fix for the dir -> symlink change wasn't proper and
didn't work for upgrades from stable. I uploaded 1.8.4-3 which fixes
that problem, sorry.
Please unblock 1.8.4-3, see attached interdiff for your convenience.
Rhonda
reverted:
--- pgadmin3-1.8.4/debian/pgadmin3.preinst
+++ pgadmin3-1.8.4.orig/debian/pgadmin3.preinst
@@ -1,10 +0,0 @@
-#!/bin/sh -e
-
-# remove old doc directory
-if dpkg --compare-versions "$2" le-nl "1.8.4-1"; then
- if [ -d /usr/share/doc/pgadmin3 ]; then
- rmdir /usr/share/doc/pgadmin3
- fi
-fi
-
-#DEBHELPER#
diff -u pgadmin3-1.8.4/debian/changelog pgadmin3-1.8.4/debian/changelog
--- pgadmin3-1.8.4/debian/changelog
+++ pgadmin3-1.8.4/debian/changelog
@@ -1,3 +1,10 @@
+pgadmin3 (1.8.4-3) unstable; urgency=low
+
+ * Do the doc dir -> symlink change properly, in postinst. Sorry for the
+ inconvenience.
+
+ -- Gerfried Fuchs <rhonda@debian.at> Sat, 23 Aug 2008 23:51:39 +0200
+
pgadmin3 (1.8.4-2) unstable; urgency=low
* dpkg doesn't like changing directories to symlinks, removing old pgadmin3
only in patch2:
unchanged:
--- pgadmin3-1.8.4.orig/debian/pgadmin3.postinst
+++ pgadmin3-1.8.4/debian/pgadmin3.postinst
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+# remove old doc directory
+if dpkg --compare-versions "$2" le-nl "1.8.4-2"; then
+ if [ -d /usr/share/doc/pgadmin3 ]; then
+ if rmdir /usr/share/doc/pgadmin3; then
+ ln -s pgadmin3-data /usr/share/doc/pgadmin3
+ fi
+ fi
+fi
+
+#DEBHELPER#
Reply to: