From 65bd7128c4e2e2bd28f6c296332d66188de5b06d Mon Sep 17 00:00:00 2001 From: dancer Date: Fri, 7 Sep 2001 07:10:53 +0000 Subject: fixing typo --- pbuilder-modules | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pbuilder-modules') diff --git a/pbuilder-modules b/pbuilder-modules index def60f8..372aaf8 100644 --- a/pbuilder-modules +++ b/pbuilder-modules @@ -73,19 +73,19 @@ function installaptlines (){ echo "Distribution not specified, please specify" >&2 exit 1 ) - if [ -n "$MIRRORSITE" ] then + if [ -n "$BUILDPLACE" ] ; then cat >> "$BUILDPLACE"/etc/apt/sources.list << EOF deb $MIRRORSITE $DISTRIBUTION main contrib non-free deb-src $MIRRORSITE $DISTRIBUTION main contrib non-free EOF fi - if [ -n "$NONUSMIRRORSITE" ] then - cat >> "$BUILDPLACE"/etc/apt/sources.list << EOF + if [ -n "$NONUSMIRRORSITE" ]; then + cat >> "$BUILDPLACE"/etc/apt/sources.list << EOF deb $NONUSMIRRORSITE $DISTRIBUTION/non-US main contrib non-free deb-src $NONUSMIRRORSITE $DISTRIBUTION/non-US main contrib non-free EOF fi - if [ -n "$OTHERMIRROR" ] then + if [ -n "$OTHERMIRROR" ]; then echo "$OTHERMIRROR" | tr "|" "\n" >> "$BUILDPLACE"/etc/apt/sources.list fi -- cgit v1.2.3