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:
parent
a3806af8ee
commit
52d52c7062
@ -18,6 +18,7 @@ sub run {
|
|||||||
# init the db
|
# init the db
|
||||||
if (script_run "/usr/bin/postgresql-setup --initdb") {
|
if (script_run "/usr/bin/postgresql-setup --initdb") {
|
||||||
# see if this is RHBZ #1872511...
|
# see if this is RHBZ #1872511...
|
||||||
|
script_run "rm -rf /var/lib/pgsql/data/*";
|
||||||
script_run "dnf -y install glibc-langpack-en", 180;
|
script_run "dnf -y install glibc-langpack-en", 180;
|
||||||
assert_script_run "/usr/bin/postgresql-setup --initdb";
|
assert_script_run "/usr/bin/postgresql-setup --initdb";
|
||||||
record_soft_failure "postgresql-setup initially failed due to missing langpack - RHBZ #1872511";
|
record_soft_failure "postgresql-setup initially failed due to missing langpack - RHBZ #1872511";
|
||||||
|
Loading…
Reference in New Issue
Block a user