source: debian/i2p-doc.preinst @ fbeca5e

Last change on this file since fbeca5e was c84dd52, checked in by zzz <zzz@…>, 5 years ago

Debian: Updates from the 0.9.24 release, including patch refresh, not checked in at the time.
Cherry-picked out of
The files in
are somewhat different.
Note that some files out of that tarball are apparently older than what is in our debian/
directory and were not copied over.
Some of the changes may be for Ubuntu and will not work for Debian.
Kytv may have had a local debian/ directory for Ubuntu builds that was not checked in anywhere.
Untested. Another patch refresh for 0.9.25 may be required.
To be fixed up after the 0.9.25 release.

  • Property mode set to 100644
File size: 405 bytes
1#!/bin/sh -e
2exit 0
4if [ ! -z $2 ]; then
5        if dpkg --compare-versions $2 lt 0.8.6-5; then
6                test -d /usr/share/doc/i2p-doc \
7                        && rm -rf /usr/share/doc/i2p-doc
8        fi
9        if dpkg --compare-versions $2 lt 0.8.7-3; then
10                test -d /usr/share/doc/i2p-doc/api \
11                        && rm -rf /usr/share/doc/i2p-doc/api
12        fi
Note: See TracBrowser for help on using the repository browser.