Bug#703382: maven-debian-helper: mh_make: Do not use sudo

Hilko Bengen bengen at debian.org
Tue Mar 19 00:02:55 UTC 2013


Package: maven-debian-helper
Version: 1.5.1
Severity: normal
Tags: patch

apt-file has not needed root privileges for its operation since 2008 or
2009 (see #540905 for example), so it's unnecessary to use sudo for its
invokation.

If mh_make finds that the apt-file or devscripts packages are missing,
it ought to give an explanation what to do and exit instead of going
ahead and trying to install packages on behalf of the user. By the way:
If sudo is not installed or if the user has not been sudo privileges,
mh_make would fail in interesting ways...

A patch that removes sudo from the picture is attached below.

Cheers,
-Hilko

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-diff
Size: 1817 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20130319/60e90226/attachment.diff>


More information about the pkg-java-maintainers mailing list