index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-03-01 09:05:51 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-01 09:05:51 +0100 |
commit | 496c571cd233a8646351ba241c3119ceaf2b8063 (patch) | |
tree | 3018e0a5a4ed78158c57a5b09d4b9e87fd3246d5 /lib/common-functions | |
parent | 6047f2686cfe623e08fbaf4eae0a552ded731eb1 (diff) |
-rwxr-xr-x | lib/common-functions | 7 |
diff --git a/lib/common-functions b/lib/common-functions index 740c266..ba434ad 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -501,11 +501,8 @@ remove_old_package_versions() { "$(printf '%s' "${repository}" | base64 -w0)" printf ';\n' } | \ - mysql_run_query --raw --batch | \ - sed ' - /^\S\+\sCONCAT(/d - y/\t/ / - ' | \ + mysql_run_query -N --raw --batch | \ + tr '\t' ' ' | \ expand_version 4 | \ sort -k4V,4 -k3r,3 | \ shrink_version 4 | \ |