]> git.donarmstrong.com Git - neurodebian.git/commitdiff
BF: actually we need to aim for multiverse (not restricted) on ubuntus to decide...
authorYaroslav Halchenko <debian@onerussian.com>
Wed, 6 Aug 2014 03:43:53 +0000 (23:43 -0400)
committerYaroslav Halchenko <debian@onerussian.com>
Wed, 6 Aug 2014 04:08:35 +0000 (00:08 -0400)
debian/neurodebian-repository.templates
tools/nd-aptenable

index eb31072b7dbb35270be91cd473dc1eb5de4a02df..d2896c8c66e437caa3eccda93f449d8f71a8b6bd 100644 (file)
@@ -45,8 +45,8 @@ Description: NeuroDebian flavor to use:
     all three areas (main, contrib, non-free)
   auto
     determine which flavor to choose based on current output of
-    apt-cache policy ('full' -- if non-free or restricted
-    archives are enabled)
+    apt-cache policy ('full' -- if non-free (Debian) or multiverse
+       (Ubuntu) areas are enabled)
 
 Template: neurodebian-repository/components
 Type: multiselect
index 08812ccb3cbbdc1f5c6aaf55b8419e4b0e970ed9..d2c2c9d8aaa463fedc748655c4b6fd57c6bf5911 100755 (executable)
@@ -422,7 +422,7 @@ if [ -z "$ae_release" ]; then
 fi
 
 if [ -z "$ae_flavor" ]; then
-    ae_flavor=$(echo "$apt_policy" | grep -e ",n=$ae_release," | grep -qe 'c=\(non-free\|restricted\)' && echo "full" || echo "libre")
+    ae_flavor=$(echo "$apt_policy" | grep -e ",n=$ae_release," | grep -qe 'c=\(non-free\|multiverse\)' && echo "full" || echo "libre")
 fi
 
 #