264
277
:param archive: The configuration command to run.
265
278
:param public_key_file: file containing the public key used to sign this archive
267
if not os.path.exists(os.path.join(self.root_path, 'usr', 'bin', 'add-apt-repository')):
268
281
self.install_package("software-properties-common")
269
282
if 'https://' in archive and not os.path.exists(os.path.join(self.root_path, 'usr', 'lib', 'apt', 'methods', 'https')):
270
283
self.install_package("apt-transport-https")