Commit dbee83c5 authored by Luca Giambonini's avatar Luca Giambonini

skip postinall_packages if list is empty

parent 8c5227ac
Pipeline #1688 passed with stages
in 17 minutes and 18 seconds
......@@ -32,6 +32,7 @@ if __name__ == "__main__":
postinstall_package_list = read_package_list(pjoin(configdir, "postinstall_packages.conf"))
pacman_config = pjoin(configdir, "pacman.conf")
container.create(pacman_config, package_list, rootfolder=pjoin(outputdir, "chakra"))
if postinstall_package_list:
container.add_postinall_packages(pacman_config, postinstall_package_list, rootfolder=pjoin(outputdir, "chakra"))
iso_builder = iso.IsoBuilder(outputdir, datadir, configdir)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment