On Tue, Jan 09, 2001 at 09:58:14AM +0100, Bas Zoetekouw wrote: > Hi Drew! > > You wrote: > > > What is the appropriate way of bringing meschach into the 21st Century? > > Are there any tools for handling this, or do the changes need to be made > > manually? > > You'll have to do it manually. The file > /usr/share/doc/debian-policy/upgrading-checklist.text.gz contains all > chanes between subsequent policy versions. Using this file, you can > easily figure out what exacly you'll have to change. >
I don't get it. I've got /usr/share/doc now set up, but I can't get the link from /usr/doc to work properly now. I put the script from the policy docs into postinst: if [ "$1" = "configure" ]; then if [ -d /usr/doc -a ! -e /usr/doc/#PACKAGE# \ -a -d /usr/share/doc/#PACKAGE# ]; then ln -sf ../share/doc/#PACKAGE# /usr/doc/#PACKAGE# fi fi and I've got debian/rules to copy postinst into debian/tmp/DEBIAN/postinst, and I can confirm in the prepared debs that postint is right there where it's supposed to in the DEBIAN directory inside the deb file. But when I run lintian on the changes file, it still whinges about no symlink being setup for /usr/doc: N: perl checks disabled temporarily W: meschach: postinst-does-not-set-usr-doc-link W: meschach: prerm-does-not-remove-usr-doc-link (likewise, as you can see, for removing the link, where I have if [ \( "$1" = "upgrade" -o "$1" = "remove" \) \ -a -L /usr/doc/#PACKAGE# ]; then rm -f /usr/doc/#PACKAGE# fi as suggested by the policy docs). Am I using the above scripts wrongly? Was I supposed to substitute the name of the package instead of #PACKAGE# myself? Am I supposed to do something to get the #DEBHELPER# line in postinst & prerm to work properly? Is #DEBHELPER# supposed to be there at all? (I thought it was, so it's there). Thanks for any clues. Drew -- PGP public key available at http://dparsons.webjump.com/drewskey.txt Fingerprint: A110 EAE1 D7D2 8076 5FE0 EC0A B6CE 7041 6412 4E4A