Print a warning if fakechroot is not found
Fixes FS#33551. Signed-off-by: Chirantan Ekbote <chirantan.ekbote@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
1631255357
commit
2f137fdd39
1 changed files with 3 additions and 1 deletions
|
@ -204,7 +204,9 @@ class pmtest(object):
|
||||||
cmd.append("fakeroot")
|
cmd.append("fakeroot")
|
||||||
|
|
||||||
fakechroot = util.which("fakechroot")
|
fakechroot = util.which("fakechroot")
|
||||||
if fakechroot:
|
if not fakechroot:
|
||||||
|
print "WARNING: fakechroot not found!"
|
||||||
|
else:
|
||||||
cmd.append("fakechroot")
|
cmd.append("fakechroot")
|
||||||
|
|
||||||
if pacman["gdb"]:
|
if pacman["gdb"]:
|
||||||
|
|
Loading…
Add table
Reference in a new issue