From e197f6d34c7f01d72537188fe2aa172622015916 Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Thu, 28 Apr 2011 13:21:30 +1000 Subject: checkpkg: remove checking for old style package names All the packages in the Arch repo have been rebuilt to include the architecture in their package names so this workaround is no longer needed. Signed-off-by: Allan McRae Signed-off-by: Pierre Schmitz --- checkpkg | 5 ----- 1 file changed, 5 deletions(-) (limited to 'checkpkg') diff --git a/checkpkg b/checkpkg index feb9c70..e669718 100755 --- a/checkpkg +++ b/checkpkg @@ -37,16 +37,11 @@ for _pkgname in ${pkgname[@]}; do else pkgfile=${_pkgname}-${epoch}:${pkgver}-${pkgrel}-${CARCH}${PKGEXT} fi - oldstylepkgfile=${_pkgname}-${pkgver}-${pkgrel}${PKGEXT} if [ -f "$STARTDIR/$pkgfile" ]; then cp "$STARTDIR/$pkgfile" . elif [ -f "$PKGDEST/$pkgfile" ]; then cp "$PKGDEST/$pkgfile" . - elif [ -f "$STARTDIR/$oldstylepkgfile" ]; then - cp "$STARTDIR/$oldstylepkgfile" . - elif [ -f "$PKGDEST/$oldstylepkgfile" ]; then - cp "$PKGDEST/$oldstylepkgfile" . else echo "File \"$pkgfile\" doesn't exist" exit 1 -- cgit v1.2.3-70-g09d2