Skip to content

Commit

Permalink
fix: slackware
Browse files Browse the repository at this point in the history
  • Loading branch information
mayeut committed May 12, 2024
1 parent b032ccf commit bac9aa1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pep600_compliance/images/package_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,10 @@ def _update(self, container):
["touch", "/var/lib/slackpkg/current"]
)
assert exit_code == 0, output.decode("utf-8")
exit_code, output = container.exec_run(
["slackpkg", "-default_answer=yes", "-batch=on", "update", "gpg"]
)
assert exit_code == 0, output.decode("utf-8")
super()._update(container)

def _upgrade(self, container):
Expand Down

0 comments on commit bac9aa1

Please sign in to comment.