Commit 2029a426 authored by Leo Iannacone's avatar Leo Iannacone

Merge remote-tracking branch 'github/master' into portable

parents 53bf6655 6d941d82
...@@ -18,7 +18,7 @@ function __get_files_list_from_package(data, callback) { ...@@ -18,7 +18,7 @@ function __get_files_list_from_package(data, callback) {
file.orig_name = f; file.orig_name = f;
file.name = f.split('_')[0]; file.name = f.split('_')[0];
file.extension = f.split('.').pop(); file.extension = f.split('.').pop();
if (file.extension == 'deb' || file.extension == 'ddeb') { if (file.extension == 'deb' || file.extension == 'ddeb' || file.extension == 'udeb') {
data.package.debs.push(file); data.package.debs.push(file);
} else if (f.indexOf('.tar') >= 0 || file.extension == 'changes' || file.extension == 'dsc') { } else if (f.indexOf('.tar') >= 0 || file.extension == 'changes' || file.extension == 'dsc') {
file.name = f.replace(data.package.name + '_' + data.package.version + '.', ''); file.name = f.replace(data.package.name + '_' + data.package.version + '.', '');
......
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