Frank Lin PIAT <fp...@klabs.be> writes: > Hello, > > I am working on a package that have a postinst script that process the > package's data on upgrade. > > Is there any current (best) practice to warn the user that downgrading > isn't supported? (I mean, explicitly notifying when downgrade is not > supported, rather than silently assuming that the user knows that > downgrading isn't supported in Debian)? > > Franklin > > > PS. Please CC me, I am not subscribed to the list.
Couldn't you check in prerm that the new version is >= the first compatible version? So only people that do downgrade get the message that it won't work. MfG Goswin -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org