I tested using debian/maintscript, and it did not work because
jwchat.conf was missing in the package. But I came up with another
version using code in preinst and postinst to move the old file to
jwchat.dpkg-backup in the preinst if it exist, and move it from
jwchat.dpkg-backup to jwchat.conf in
[Jean-Michel Vourgère]
> Note that we cannot use maintscript in that case.
I would expect the same handling as with conffiles could be used, ie
adding a debian/maintscript file with content like this:
mv_conffile /etc/apache2/sites-available/jwchat
/etc/apache2/sites-available/jwchat.conf 1.0+
On Monday 26 August 2013 20:15:06 Petter Reinholdtsen wrote:
> The jwchat patch seem to be incomplete. It will handle fresh installs
> and removal, but not upgrades. For upgrades from earlier versions of
> jwchat, the conffile /etc/apache2/sites-available/jwchat need to be
> renamed to /etc/apach
The jwchat patch seem to be incomplete. It will handle fresh installs
and removal, but not upgrades. For upgrades from earlier versions of
jwchat, the conffile /etc/apache2/sites-available/jwchat need to be
renamed to /etc/apache2/sites-available/jwchat.conf.
See https://wiki.debian.org/DpkgCon
Control: tags -1 + patch
Dear jwchat maintainers
Attached is a patch for your package.
Regards
diff -Nru jwchat-1.0+dfsg/debian/postinst jwchat-1.0+dfsg/debian/postinst
--- jwchat-1.0+dfsg/debian/postinst 2010-09-17 18:11:48.0 +
+++ jwchat-1.0+dfsg/debian/postinst 2013-07-22 17:34:28
Package: jwchat
Version: 1.0+dfsg-1.1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts
Control: block 661958 with -1
Hi,
during a test with piuparts I noticed your package failed to install. As
per definition of the release team this makes the package too buggy for
a release,
6 matches
Mail list logo