Skip to content

Commit

Permalink
do not deploy empty package set with pacman
Browse files Browse the repository at this point in the history
  • Loading branch information
iTrooz authored and azubieta committed Oct 6, 2022
1 parent bd82930 commit 2709a3b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions appimagebuilder/modules/deploy/pacman/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ def __init__(self, venv: Venv):
self.logger = logging.getLogger("PacmanPackageDeploy")

def deploy(self, packages: [str], appdir_root: str, exclude: [str] = None):
if not packages:
# quick return if there is no packages to be deployed
return

self.pacman_venv.update()

appdir_root = Path(appdir_root)
Expand Down

0 comments on commit 2709a3b

Please sign in to comment.