Reorganize the Debian directory structure to conform to their packaging policy. This brings the number of Lintian errors+warning

s down from 383 to 16.
This commit is contained in:
HungryHobo
2010-11-12 22:57:59 +00:00
parent 98f559c9c0
commit ae101f6cad
7 changed files with 87 additions and 36 deletions

2
debian/scripts/init vendored
View File

@ -14,7 +14,7 @@ set -e
. /lib/lsb/init-functions
I2P () {
su i2psvc -c "/usr/lib/i2p/i2prouter $1"
su i2psvc -c "/usr/bin/i2prouter $1"
}
if [ `id -un` != "root" ]; then

View File

@ -1,6 +1,6 @@
#!/bin/sh
SVCHOME=/var/lib/i2p
I2P=/usr/lib/i2p
I2P=/usr/share/i2p
I2PUSER=i2psvc
useradd -d $SVCHOME -r $I2PUSER

View File

@ -9,6 +9,6 @@ fi
# if somebody did updates in-network, there may be new files that dpkg
# doesn't know about, so just to be sure
I2P=/usr/lib/i2p
I2P=/usr/share/i2p
rm -rf $I2P

View File

@ -8,7 +8,8 @@ rm -f /tmp/wrapper.log /tmp/wrapper.log.1 /tmp/wrapper.log.2 /tmp/i2p.pid /tmp/r
update-rc.d -f i2p remove
# dpkg doesn't know about these files, they were copied out of jbigi.jar by the router
rm -f $I2P/libjbigi.so $I2P/libjcpuid.so
LIB=/usr/lib/i2p
rm -f $LIB/libjbigi.so $LIB/libjcpuid.so
# the home directory for the i2p daemon
SVCHOME=/var/lib/i2p