1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 15:23:08 +00:00

Add a bit of clean up before second run of postgresql-setup

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2020-09-01 15:46:10 -07:00
parent a3806af8ee
commit 52d52c7062

View File

@ -18,6 +18,7 @@ sub run {
# init the db
if (script_run "/usr/bin/postgresql-setup --initdb") {
# see if this is RHBZ #1872511...
script_run "rm -rf /var/lib/pgsql/data/*";
script_run "dnf -y install glibc-langpack-en", 180;
assert_script_run "/usr/bin/postgresql-setup --initdb";
record_soft_failure "postgresql-setup initially failed due to missing langpack - RHBZ #1872511";