From cf15ad3be3a20a634a64071a4533d706b68ce1af Mon Sep 17 00:00:00 2001 From: rohieb Date: Sat, 26 Jul 2008 23:36:31 +0200 Subject: [PATCH 1/1] documentation was symlinked wrong --- Makefile | 1 + debian/changelog | 6 ++++++ debian/postinst | 2 +- debian/preinst | 5 +++++ 4 files changed, 13 insertions(+), 1 deletion(-) create mode 100755 debian/preinst diff --git a/Makefile b/Makefile index 3e912e9..310b57d 100644 --- a/Makefile +++ b/Makefile @@ -38,6 +38,7 @@ links: $(MKDIR) $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/source/ $(LN) doc/{TODO,changelog.old.html} $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/ $(LN) doc/source/* $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation/source/ + $(RM) $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation $(LN) -s $(DESTDIR)/usr/share/doc/iserv-mod-room-reservation $(DESTDIR)/usr/share/doc/iserv/mod/room-reservation # images diff --git a/debian/changelog b/debian/changelog index 4bbd51e..7cfc3b2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +iserv-mod-room-reservation (8.07.27-0) stable; urgency=low + + * documentation was symlinked wrong + + -- Roland Hieber (Package Signing Key) Sat, 26 Jul 2008 22:50:00 +0200 + iserv-mod-room-reservation (8.07.26-0) stable; urgency=low * renamed package, added Conflicts and Replaces header for dpkg diff --git a/debian/postinst b/debian/postinst index 16b6a14..3ddac10 100755 --- a/debian/postinst +++ b/debian/postinst @@ -4,5 +4,5 @@ chgrp www-data /usr/share/iserv/www/inc/mod_room-reservation/config.inc chkdb -r chkpriv chklocale -ln -fs /usr/share/doc/iserv/mod/room-reservation /usr/share/doc/iserv-mod-room-reservation +ln -fs /usr/share/doc/iserv-mod-room-reservation /usr/share/doc/iserv/mod/room-reservation #DEBHELPER# diff --git a/debian/preinst b/debian/preinst new file mode 100755 index 0000000..746ff84 --- /dev/null +++ b/debian/preinst @@ -0,0 +1,5 @@ +#!/bin/sh +# repair broken symlinks +rm -rf /usr/share/doc/iserv/mod/room-reservation # from 3.0 +rm -rf /usr/share/doc/iserv-mod-room-reservation/room-reservation # from 8.07.26-0, symlink is broken +#DEBHELPER# -- 2.20.1