diff options
author | Allan McRae <allan@archlinux.org> | 2011-04-28 05:21:30 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-04-29 21:20:11 +0200 |
commit | e197f6d34c7f01d72537188fe2aa172622015916 (patch) | |
tree | e68cb6262649cb24eb621e1b3a028f5303915c7d /checkpkg | |
parent | c45e5bbf22504d62c3551d37b0f51e30716b41f1 (diff) | |
download | devtools-e197f6d34c7f01d72537188fe2aa172622015916.tar.gz devtools-e197f6d34c7f01d72537188fe2aa172622015916.tar.xz |
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 <allan@archlinux.org>
Signed-off-by: Pierre Schmitz <pierre@archlinux.de>
Diffstat (limited to 'checkpkg')
-rwxr-xr-x | checkpkg | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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 |