makepkg: Check for "fakeroot" binary

pull/21/head
Juergen Hoetzel 2018-10-30 16:50:07 +01:00
parent 6f5a4f9b6d
commit f92a1522a3
No known key found for this signature in database
GPG Key ID: A3D9562A589874AB
1 changed files with 1 additions and 0 deletions

1
aur.py
View File

@ -125,6 +125,7 @@ def install_with_makepkg(module, package):
""" """
Install the specified package with makepkg Install the specified package with makepkg
""" """
module.get_bin_path('fakeroot', required=True)
f = open_url('https://aur.archlinux.org/rpc/?v=5&type=info&arg={}'.format(package)) f = open_url('https://aur.archlinux.org/rpc/?v=5&type=info&arg={}'.format(package))
result = json.loads(f.read().decode('utf8')) result = json.loads(f.read().decode('utf8'))
if result['resultcount'] != 1: if result['resultcount'] != 1: