Browse Source

New syntax of features file

Michael Schwarz 2 years ago
parent
commit
31b7d547ab
1 changed files with 3 additions and 8 deletions
  1. 3 8
      features

+ 3 - 8
features

@@ -1,10 +1,5 @@
-nodefault 'autoupdater-fallback'
+feature('autoupdater-fallback', {'ffho-autoupdater-wifi-fallback'})
 
-packages 'autoupdater-fallback' \
-	'ffho-autoupdater-wifi-fallback'
+when(_'autoupdater-fallback' and _'web-wizard', {'gluon-config-mode-autoupdater'})
 
-packages 'autoupdater-fallback & web-wizard' \
-	'gluon-config-mode-autoupdater'
-
-packages 'autoupdater-fallback & web-advanced' \
-	'ffho-web-autoupdater'
+when(_'autoupdater-fallback' and _' web-advanced', {'ffho-web-autoupdater'})