Skip to content

Commit

Permalink
Merge pull request #30 from kenhys/fix-var-typo
Browse files Browse the repository at this point in the history
Fix path of /tmp/local/var/lib/postgresql

Patch by Kentaro Hayashi. Thanks!!!
  • Loading branch information
kou committed Jun 26, 2017
2 parents 442c1c8 + a8bd732 commit 38e8434
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions _po/ja/development/index.po
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"PO-Revision-Date: 2017-06-26 08:57+0900\n"
"PO-Revision-Date: 2017-04-11 10:51+0900\n"
"Language: ja\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
Expand Down Expand Up @@ -107,7 +107,7 @@ msgstr ""

msgid ""
"```console\n"
"% rm -rf /tmp/local/lib/postgresql && \\\n"
"% rm -rf /tmp/local/var/lib/postgresql && \\\n"
" mkdir -p /tmp/local/var/lib/postgresql &&\n"
" /tmp/local/bin/initdb \\\n"
" --locale C \\\n"
Expand Down
2 changes: 1 addition & 1 deletion development/index.md
Expand Up @@ -46,7 +46,7 @@ Initialize and run PostgreSQL:
The following one liner is useful to reset all PostgreSQL related data. You store the one liner in your shell history, you can rerun the one linear quickly:

```console
% rm -rf /tmp/local/lib/postgresql && \
% rm -rf /tmp/local/var/lib/postgresql && \
mkdir -p /tmp/local/var/lib/postgresql &&
/tmp/local/bin/initdb \
--locale C \
Expand Down
2 changes: 1 addition & 1 deletion ja/development/index.md
Expand Up @@ -46,7 +46,7 @@ PostgreSQLを初期化して実行します。
以下のワンライナーはPostgreSQL関連のすべてのデータをリセットするときに便利です。このワンライナーをシェルのヒストリーに入れておけば、すぐにこのワンライナーを再実行できます。

```console
% rm -rf /tmp/local/lib/postgresql && \
% rm -rf /tmp/local/var/lib/postgresql && \
mkdir -p /tmp/local/var/lib/postgresql &&
/tmp/local/bin/initdb \
--locale C \
Expand Down

0 comments on commit 38e8434

Please sign in to comment.