Skip to content

Commit 2709a3b

Browse files
iTroozazubieta
authored andcommitted
do not deploy empty package set with pacman
1 parent bd82930 commit 2709a3b

File tree

1 file changed

+4
-0
lines changed
  • appimagebuilder/modules/deploy/pacman

1 file changed

+4
-0
lines changed

appimagebuilder/modules/deploy/pacman/deploy.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ def __init__(self, venv: Venv):
5252
self.logger = logging.getLogger("PacmanPackageDeploy")
5353

5454
def deploy(self, packages: [str], appdir_root: str, exclude: [str] = None):
55+
if not packages:
56+
# quick return if there is no packages to be deployed
57+
return
58+
5559
self.pacman_venv.update()
5660

5761
appdir_root = Path(appdir_root)

0 commit comments

Comments
 (0)