This commit is contained in:
brent s 2017-10-25 03:14:33 -04:00
parent afd24b8070
commit b651901b91

View File

@ -194,8 +194,8 @@ class Backup(object):
_cmd = None
for p in os.environ['PATH'].split(':'):
d = os.path.expanduser(p)
if os.path.isfile(os.path.join(d, pkgtool)):
_pkgr = pkgtool
if os.path.isfile(os.path.join(d, pkgr)):
_pkgr = pkgr
self.logger.debug('Package tool found at {0}'.format(_pkgr))
else:
_pkgr = 'pacman'