diff options
-rw-r--r-- | _plugins/firmwares.rb | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/_plugins/firmwares.rb b/_plugins/firmwares.rb index 6d9133c..48def3d 100644 --- a/_plugins/firmwares.rb +++ b/_plugins/firmwares.rb @@ -190,31 +190,17 @@ GROUPS = { end }, transform_label: lambda { |model| - #if model == 'Bullet M' then - # 'Bullet M, Loco M' - #els if model == 'UniFi' then 'UniFi AP (LR)' - elsif model == 'N600' then - 'My Net N600' - elsif model == 'N750' then - 'My Net N750' else model end }, - transform_group: lambda { |group| - if group == 'wd-my-net' then - 'WD (Western Digital)' - else - group - end - } }, - "wd-my-net" => { + "WD" => { models: [ - "N600", - "N750", + "My-Net-N600", + "My-Net-N750", ], extract_rev: lambda { |model, suffix| nil }, }, |