Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-15 15:19:36 +0100
committerErich Eckner <git@eckner.net>2018-02-15 15:19:36 +0100
commit45ca53e3a30afb02d30cbcf1ef16fa40278731f0 (patch)
tree8681a9eb7ec98182757527d3416c045f17ecef42
parent1c5d2f6a45acce10cc240508e6a99fd3ce66a29a (diff)
bin/common-functions: $arch should not be extracted from $pkgname in remove_old_package_versions
-rwxr-xr-xbin/common-functions3
1 files changed, 0 insertions, 3 deletions
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##*.}"