Skip to content

Commit

Permalink
fix dpkg-deb detection
Browse files Browse the repository at this point in the history
  • Loading branch information
superrnovae committed Sep 1, 2022
1 parent 0ec85d1 commit 4af47e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions permasigner/permasigner.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ def main(self) -> None:
# Check for dependencies
logger.log("Checking for dependencies...", color=colors["yellow"])
self.ldid = utils.cmd_in_path('ldid')
if self.ldid is not None:
if self.ldid:
logger.debug("ldid found!", self.args.debug)
else:
logger.debug("ldid not found in PATH, we will download it later if needed", self.args.debug)

self.dpkg = utils.cmd_in_path('dpkg-deb')
if self.ldid:
if self.dpkg:
logger.debug("dpkg-deb found!", self.args.debug)
else:
logger.debug("dpkg-deb not found in PATH, we will use constrictor instead", self.args.debug)
Expand Down

0 comments on commit 4af47e7

Please sign in to comment.