Przeglądaj źródła

fix typo

tags/v1.1.1
Jonathan Cobb 4 lat temu
rodzic
commit
415069742c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      bin/first_time_ubuntu.sh

+ 1
- 1
bin/first_time_ubuntu.sh Wyświetl plik

@@ -26,7 +26,7 @@ sudo su - postgres bash -c 'createuser -U postgres --createdb --createrole --sup
PG_HBA=$(find /etc/postgresql -mindepth 1 -maxdepth 1 -type d | sort | tail -1)/main/pg_hba.conf
sudo cat ${PG_HBA} | sed -e 's/ peer/ trust/g' | sed -e 's/ md5/ trust/g' > /tmp/pg_hba.conf || die "Error filtering ${PG_HBA}"
sudo bash -c "cat /tmp/pg_hba.conf > ${PG_HBA}" || die "Error rewriting ${PG_HBA}"
sudo service postgresql restart || die "Error restaring pgsql"
sudo service postgresql restart || die "Error restarting pgsql"

# Create DB user 'bubble', with the ability to create databases
createuser --createdb bubble || die "Error creating bubble DB user"


Ładowanie…
Anuluj
Zapisz