Commit 5d1508b0 authored by Leo Iannacone's avatar Leo Iannacone

add support to sourceupload.changes

parent a98f146d
...@@ -24,7 +24,7 @@ get_files_list_from_package = (data, callback) -> ...@@ -24,7 +24,7 @@ get_files_list_from_package = (data, callback) ->
else if file.extension in ["changes", "dsc"] or f.indexOf('.tar') > 0 else if file.extension in ["changes", "dsc"] or f.indexOf('.tar') > 0
file.name = f.replace(data.package.orig_name + ".", "") file.name = f.replace(data.package.orig_name + ".", "")
if file.extension is "changes" if file.extension is "changes"
file.name = file.extension file.name = f.split('_').pop()
else if f.indexOf('.orig.tar') > 0 else if f.indexOf('.orig.tar') > 0
file.name = "orig." + f.split(".orig.").pop() file.name = "orig." + f.split(".orig.").pop()
data.package.sources.push(file) data.package.sources.push(file)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment