From: Yaroslav Halchenko Date: Thu, 26 Jun 2014 15:58:41 +0000 (-0400) Subject: minor screw up fix X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6ef6d17655181a503597b258628fdb07ce7acce3;p=neurodebian.git minor screw up fix --- diff --git a/tools/nd-aptenable b/tools/nd-aptenable index 492a264..1208144 100755 --- a/tools/nd-aptenable +++ b/tools/nd-aptenable @@ -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