From 635c5d768cbceb81c1eed596d188e43da440b88b Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sat, 19 Feb 2011 20:43:27 -0800 Subject: [PATCH] reprepro fixup 2 --- gen_reprepro_conf.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gen_reprepro_conf.sh b/gen_reprepro_conf.sh index 8b037391..2d375c69 100755 --- a/gen_reprepro_conf.sh +++ b/gen_reprepro_conf.sh @@ -5,10 +5,12 @@ comp="$2" if [ -e "$path/conf/dists" ]; then dists=`cat $path/conf/dists` -else if [ -e "$path/../dists" ]; then - dists=`cat $path/../dists` else - dists="$3" + if [ -e "$path/../dists" ]; then + dists=`cat $path/../dists` + else + dists="$3" + fi fi if [ -e "$path/conf/components" ]; then -- 2.39.5