]> git.donarmstrong.com Git - neurodebian.git/commitdiff
minor screw up fix
authorYaroslav Halchenko <debian@onerussian.com>
Thu, 26 Jun 2014 15:58:41 +0000 (11:58 -0400)
committerYaroslav Halchenko <debian@onerussian.com>
Thu, 26 Jun 2014 16:00:09 +0000 (12:00 -0400)
tools/nd-aptenable

index 492a26479f66e89532e3cae9415cc51d69d0bed5..1208144ee4d294334ed8943b8c33f261dbe5ac1b 100755 (executable)
@@ -269,8 +269,10 @@ if include_component software || include_component data; then
     if [ -z "$ae_mirror" ]; then # none specified
         ae_mirror_url=$ae_mirror_main
     else
-        if [ ! "$ae_mirror" ~= ".*://.*" ]; then
+        if ! [[ "$ae_mirror" =~ ".*://.*" ]]; then
             # TODO -- determine from the abbreviation
+            echo TODO
+            ae_mirror_url=$ae_mirror_main
         fi
     fi
 fi