source: debian/i2p-doc.preinst @ a3a17a4f

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

Debian: Updates from the 0.9.24 release, including patch refresh, not checked in at the time.
Cherry-picked out of
https://launchpad.net/~i2p.packages/+archive/ubuntu/i2p/+files/i2p_0.9.24-1ubuntu1.debian.tar.xz
The files in http://deb.i2p2.no/pool/main/i/i2p/i2p_0.9.24-1~deb8u+1.debian.tar.xz
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
Line 
1#!/bin/sh -e
2exit 0
3
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
13fi
14
15#DEBHELPER#
Note: See TracBrowser for help on using the repository browser.