Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
4817bc0812
1 changed files with 20 additions and 0 deletions
|
@ -84,6 +84,26 @@ func UpdatedPackages(frontend string) (plugins []*bazaar.Plugin, widgets []*baza
|
|||
}()
|
||||
|
||||
wg.Wait()
|
||||
|
||||
if 1 > len(plugins) {
|
||||
plugins = []*bazaar.Plugin{}
|
||||
}
|
||||
|
||||
if 1 > len(widgets) {
|
||||
widgets = []*bazaar.Widget{}
|
||||
}
|
||||
|
||||
if 1 > len(icons) {
|
||||
icons = []*bazaar.Icon{}
|
||||
}
|
||||
|
||||
if 1 > len(themes) {
|
||||
themes = []*bazaar.Theme{}
|
||||
}
|
||||
|
||||
if 1 > len(templates) {
|
||||
templates = []*bazaar.Template{}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue