mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-05 00:55:04 -05:00
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
@ -204,7 +204,9 @@ class pmtest(object):
|
||||
cmd.append("fakeroot")
|
||||
|
||||
fakechroot = util.which("fakechroot")
|
||||
if fakechroot:
|
||||
if not fakechroot:
|
||||
print "WARNING: fakechroot not found!"
|
||||
else:
|
||||
cmd.append("fakechroot")
|
||||
|
||||
if pacman["gdb"]:
|
||||
|
Loading…
Reference in New Issue
Block a user