[don't forget to Cc: the -submitter]
On Friday, 11. May 2012 01:21:10 Norbert Preining wrote:
> I have made the following additions to the preinst of ptex-bin:preinst is probably too early to remove the diversions (the old package is
still installed so both orig_file (the version from ptex-bin) and
diverted_file (from whatever package) could exist in the file system.
But postinst should be fine to do the cleanup.
> if dpkg --compare-versions "$2" le "2011.20120509-1" ; thenuse 'le-nl' unless you want to run this on initial install ($2=""), too
> # these will give a warning message for installations whoFor noiseless removal of diversions you could use something like:
> # did install ptex-bin only from 2011 and not the old one
Pre-Depends: dpkg (>= 1.15)
(untested, but in glx-diversions.postinst I used something much more complex
> Please let me know if you think this appropriate or if we need anythingYou only need to remove the old diversions, there are no new diversions to be
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.