fix indentation

Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
Francois Charette 2009-09-19 14:33:13 +02:00 committed by Aaron Griffin
parent eebe3a49b7
commit 80061e2051
1 changed files with 9 additions and 9 deletions

View File

@ -33,18 +33,18 @@ for _pkgname in ${pkgname[@]}; do
anypkgfile=${_pkgname}-${pkgver}-${pkgrel}-any${PKGEXT}
if [ ! -f $pkgfile ]; then
if [ -f $PKGDEST/$pkgfile ]; then
if [ -f $PKGDEST/$pkgfile ]; then
pkgfile=$PKGDEST/$pkgfile
elif [ -f $anypkgfile ]; then
pkgfile=$anypkgfile
CARCH=any
elif [ -f $PKGDEST/$anypkgfile ]; then
pkgfile=$PKGDEST/$anypkgfile
CARCH=any
else
elif [ -f $anypkgfile ]; then
pkgfile=$anypkgfile
CARCH=any
elif [ -f $PKGDEST/$anypkgfile ]; then
pkgfile=$PKGDEST/$anypkgfile
CARCH=any
else
echo "File $pkgfile doesn't exist"
exit 1
fi
fi
fi
# set up repo-specific opts depending on how we were called