Use a variable for /tmp to make lintian happy (possibly-insecure-handling-of-tmp-files-in-maintainer-script)
This commit is contained in:
3
debian/scripts/prerm
vendored
3
debian/scripts/prerm
vendored
@ -2,7 +2,8 @@
|
|||||||
/etc/init.d/i2p stop
|
/etc/init.d/i2p stop
|
||||||
|
|
||||||
# stuff in /tmp
|
# stuff in /tmp
|
||||||
rm -f /tmp/wrapper.log /tmp/wrapper.log.1 /tmp/wrapper.log.2 /tmp/i2p.pid /tmp/routerjvm.pid /tmp/router.ping
|
TMPDIR=/tmp
|
||||||
|
rm -f ${TMPDIR}/wrapper.log ${TMPDIR}/wrapper.log.1 ${TMPDIR}/wrapper.log.2 ${TMPDIR}/i2p.pid ${TMPDIR}/routerjvm.pid ${TMPDIR}/router.ping
|
||||||
|
|
||||||
# dpkg doesn't know about these files, they were copied out of jbigi.jar by the router
|
# dpkg doesn't know about these files, they were copied out of jbigi.jar by the router
|
||||||
LIB=/usr/lib/i2p
|
LIB=/usr/lib/i2p
|
||||||
|
Reference in New Issue
Block a user