source: debian/scripts/prerm @ b4524c6

Last change on this file since b4524c6 was b4524c6, checked in by HungryHobo <HungryHobo@…>, 10 years ago

Make separate i386 and amd64 packages, this fixes the arch-independent-package-contains-binary-or-object lintian error

  • Property mode set to 100755
File size: 510 bytes
Line 
1#!/bin/sh
2/etc/init.d/i2p stop
3
4# stuff in /tmp
5rm -f /tmp/wrapper.log /tmp/wrapper.log.1 /tmp/wrapper.log.2 /tmp/i2p.pid /tmp/routerjvm.pid /tmp/router.ping
6
7# /etc/rc*.d/*i2p files
8update-rc.d -f i2p remove
9
10# dpkg doesn't know about these files, they were copied out of jbigi.jar by the router
11rm -f $I2P/libjbigi.so $I2P/libjcpuid.so
12
13# the home directory for the i2p daemon
14SVCHOME=/var/lib/i2p
15rm -rf $SVCHOME
16
17# if any user other than i2psvc has run i2p, the files in ~user/.i2p are not removed
18exit 0
Note: See TracBrowser for help on using the repository browser.