Commit 6d941d82 authored by Leo Iannacone's avatar Leo Iannacone

handle also udeb files

parent 3134e8da
......@@ -18,7 +18,7 @@ function __get_files_list_from_package(data, callback) {
file.orig_name = f;
file.name = f.split('_')[0];
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);
} else if (f.indexOf('.tar') >= 0 || file.extension == 'changes' || file.extension == 'dsc') {
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