From: Yaroslav Halchenko Date: Mon, 28 Mar 2011 13:43:07 +0000 (-0400) Subject: BF: nd_updatedist so it operates with 3 given args as well ;) X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7bdf1e639e52b7ae04bc110bee927693483b30d8;p=neurodebian.git BF: nd_updatedist so it operates with 3 given args as well ;) --- diff --git a/tools/nd_updatedist b/tools/nd_updatedist index 0d95309..39d345e 100755 --- a/tools/nd_updatedist +++ b/tools/nd_updatedist @@ -3,7 +3,7 @@ if [ $# -eq 1 ]; then family=${1%%-*} dist=${1##*-} -elif [ $# -eq 2 ]; then +elif [ $# -ge 2 ]; then family=$1 dist=$2 fi