Re: update .preinst file

2016-09-14 Thread Herbert Fortes
Hi, > Due to the way dpkg-maintscript-helper is implemented, the symlink > created with dh_installdocs is ignored, so dpkg-maintscript-helper will > create it for you. The manpage for dpkg-maintscript-helper also contains > an explanation of why 'just removing the directory in preinst' can cause

Re: update .preinst file

2016-09-14 Thread James Cowgill
Hi, On 13/09/16 18:37, Herbert Fortes wrote: > I have to update 4 debian/*.preinst files. > > Right now the files are like here[0]: > > > if dpkg --compare-versions "$2" lt "1.2.4+dfsg1-7" ; then >rm -rf /usr/share/doc/bogofilter || true > fi > > > [0] - >

update .preinst file

2016-09-13 Thread Herbert Fortes
Hi, I have to update 4 debian/*.preinst files. Right now the files are like here[0]: | if dpkg --compare-versions "$2" lt "1.2.4+dfsg1-7" ; then rm -rf /usr/share/doc/bogofilter || true fi [0] - https://anonscm.debian.org/git/collab-maint/bogofilter.git/tree/debian/bogofilter.preinst