diff options
author | dancer <dancer> | 2001-09-07 07:10:53 +0000 |
---|---|---|
committer | dancer <dancer> | 2001-09-07 07:10:53 +0000 |
commit | 65bd7128c4e2e2bd28f6c296332d66188de5b06d (patch) | |
tree | 468ba6bba72001d2aba8076bd9dc3b20474d520b /pbuilder-modules | |
parent | b893fee4b1a4b2f00134ffa79399d9fdc61aba12 (diff) | |
download | pbuilder-65bd7128c4e2e2bd28f6c296332d66188de5b06d.tar pbuilder-65bd7128c4e2e2bd28f6c296332d66188de5b06d.tar.gz |
fixing typo
Diffstat (limited to 'pbuilder-modules')
-rw-r--r-- | pbuilder-modules | 8 |
1 files changed, 4 insertions, 4 deletions
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 |