summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-14 15:35:54 +0100
committerErich Eckner <git@eckner.net>2018-03-14 15:35:54 +0100
commite84d9650048d1dccf8d30ae456811a08ea88baaa (patch)
tree101116ffaf4084ef124650201c923638b9c4d07f /lib
parent3d758f046fc29327d5ee57dcdadcb10f225d9dde (diff)
downloadbuilder-e84d9650048d1dccf8d30ae456811a08ea88baaa.tar.xz
lib/mysql-functions: strip sub_pkgrel from extracted pkgrel
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mysql-functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 2a6eda8..4e0ce93 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -395,6 +395,7 @@ mysql_generate_package_metadata() {
pkgrel=$(
grep '^pkgrel = ' "${temp_dir}/ARCHINFO ${pkgname} ${arch}" | \
cut -d' ' -f3 | \
+ sed 's/\.[0-9]\+$//' | \
base64_encode_each
)
epoch=$(