index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-02-15 08:41:43 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-15 08:41:43 +0100 |
commit | a90b95bdc1fe389eadce4461080bff23176bd6b3 (patch) | |
tree | 84dc6b14435829cfdcacc9a04d040c3358c4d9ae /lib/mysql-functions | |
parent | a137bfd03629b2084db412a6dfa304eb1caa87b7 (diff) |
-rwxr-xr-x | lib/mysql-functions | 11 |
diff --git a/lib/mysql-functions b/lib/mysql-functions index 16b7544..950e4ac 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -718,13 +718,9 @@ mysql_sanity_check() { # shellcheck disable=SC2041 ls_master_mirror 'pool' | \ sed ' - s/\.sig$// - /\.pkg\.tar\.xz$/ !d + /\.pkg\.tar\.xz\(\.sig\)\?$/ !d ' | \ - sort | \ - uniq -c | \ - grep '^\s*2\s' | \ - awk '{print $2}' > \ + sort -u > \ "${temp_dir}/master-mirror-pool" { @@ -747,6 +743,9 @@ mysql_sanity_check() { printf ')' } | \ mysql_run_query | \ + sed ' + s/^.*$/\0\n\0.sig/ + ' | \ sort > \ "${temp_dir}/mysql-packages-pool" |