From: "Luis R. Rodriguez" <mcgrof@xxxxxxxx> Signed-off-by: Luis R. Rodriguez <mcgrof@xxxxxxxx> --- devel/backports-update-manager | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/devel/backports-update-manager b/devel/backports-update-manager index 8d2cd08..fc146c6 100755 --- a/devel/backports-update-manager +++ b/devel/backports-update-manager @@ -8,6 +8,7 @@ source_dir = os.path.abspath(os.path.dirname(__file__)) sys.path.append(source_dir + '/../') from lib import bpar as ar from lib import bpgit as git +from lib import bpreqs as reqs KPATH="http://kernel.ubuntu.com/~kernel-ppa/mainline/" BACKPORTS_KSRC_DIR="ksrc-backports" @@ -562,6 +563,14 @@ def bk_tar_members(members): yield tarinfo def _main(): + req = reqs.Req() + req.require_hint('ar', 'binutils') + req.require('make') + req.require('gcc') + req.require('git') + if not req.reqs_match(): + sys.exit(1) + parser = argparse.ArgumentParser(description='Linux kernel backports update manager') parser.add_argument('--force', const=True, default=False, action="store_const", help='Force run without sanity or careful user checks') -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html