Correctly handle a few more mis-identified locales
This commit is contained in:
parent
c6f53fb0fb
commit
d19c56f285
2 changed files with 18 additions and 3 deletions
8
sql/update-2021-12-16.sql
Normal file
8
sql/update-2021-12-16.sql
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
-- 'overrides' is not a valid locale. Rather, that was a directory that CentOS
|
||||
-- used for updated man pages without overwriting the pages already installed
|
||||
-- on the system.
|
||||
-- 'man' is just a badly nested directory.
|
||||
-- The others are openmpi using non-standard directories for some reason.
|
||||
WITH b(id) AS (SELECT id FROM locales WHERE locale IN('man', 'overrides') OR locale ~ '(openmpi|mpich|mvapich)'),
|
||||
f AS (UPDATE files SET locale = 0 WHERE locale IN(SELECT id FROM b))
|
||||
DELETE FROM locales WHERE id IN(SELECT id FROM b);
|
||||
Loading…
Add table
Add a link
Reference in a new issue