mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-03 07:25:18 +00:00
[#2814] changed included '.deb' to 'deb'
This commit is contained in:
@@ -874,7 +874,7 @@ class VagrantEnv(object):
|
|||||||
|
|
||||||
if self.system in ['ubuntu', 'debian']:
|
if self.system in ['ubuntu', 'debian']:
|
||||||
upload_cmd += ' -X POST -H "Content-Type: multipart/form-data" --data-binary "@%s" '
|
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']:
|
elif self.system in ['fedora', 'centos', 'rhel']:
|
||||||
upload_cmd += ' --upload-file %s '
|
upload_cmd += ' --upload-file %s '
|
||||||
@@ -3023,7 +3023,7 @@ def upload_to_repo(args, pkgs_dir):
|
|||||||
file_ext = ''
|
file_ext = ''
|
||||||
if system in ['ubuntu', 'debian']:
|
if system in ['ubuntu', 'debian']:
|
||||||
upload_cmd += ' -X POST -H "Content-Type: multipart/form-data" --data-binary "@%s" '
|
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']:
|
elif system in ['fedora', 'centos', 'rhel']:
|
||||||
upload_cmd += ' --upload-file %s '
|
upload_cmd += ' --upload-file %s '
|
||||||
|
Reference in New Issue
Block a user