2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[#2814] changed included '.deb' to 'deb'

This commit is contained in:
Marcin Godzina
2023-03-29 11:01:10 +00:00
parent 466a1c8bc0
commit 70e2fb8fc5

View File

@@ -874,7 +874,7 @@ class VagrantEnv(object):
if self.system in ['ubuntu', 'debian']:
upload_cmd += ' -X POST -H "Content-Type: multipart/form-data" --data-binary "@%s" '
file_ext = '.deb'
file_ext = 'deb' # include both '.deb' and '.ddeb' files
elif self.system in ['fedora', 'centos', 'rhel']:
upload_cmd += ' --upload-file %s '
@@ -3023,7 +3023,7 @@ def upload_to_repo(args, pkgs_dir):
file_ext = ''
if system in ['ubuntu', 'debian']:
upload_cmd += ' -X POST -H "Content-Type: multipart/form-data" --data-binary "@%s" '
file_ext = '.deb'
file_ext = 'deb' # include both '.deb' and '.ddeb' files
elif system in ['fedora', 'centos', 'rhel']:
upload_cmd += ' --upload-file %s '