1
0
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:
Chirantan Ekbote 2013-01-31 22:24:22 -05:00 committed by Allan McRae
parent 1631255357
commit 2f137fdd39

View File

@ -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"]: