From 45ca53e3a30afb02d30cbcf1ef16fa40278731f0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 15 Feb 2018 15:19:36 +0100 Subject: bin/common-functions: $arch should not be extracted from $pkgname in remove_old_package_versions --- bin/common-functions | 3 --- 1 file changed, 3 deletions(-) (limited to 'bin') diff --git a/bin/common-functions b/bin/common-functions index 4ac57c6..bcf8ed2 100755 --- a/bin/common-functions +++ b/bin/common-functions @@ -431,9 +431,6 @@ remove_old_package_versions() { local pkgver local pkgrel local sub_pkgrel - local arch - pkgname="${package%.pkg.tar.xz}" - arch="${pkgname##*-}" pkgname="${pkgname%-*}" pkgrel="${pkgname##*-}" sub_pkgrel="${pkgrel##*.}" -- cgit v1.2.3-70-g09d2