Fix code style for commands.
parent
1f581a16f1
commit
8123eba9a7
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require "cli/parser"
|
require "cli/parser"
|
||||||
require "open-uri"
|
require "open-uri"
|
||||||
require "resource"
|
require "resource"
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require "cli/parser"
|
require "cli/parser"
|
||||||
require "open-uri"
|
require "open-uri"
|
||||||
require "resource"
|
require "resource"
|
||||||
|
@ -124,12 +126,12 @@ module Homebrew
|
||||||
ohai "Migrating and upgrading data..."
|
ohai "Migrating and upgrading data..."
|
||||||
(var/"log").cd do
|
(var/"log").cd do
|
||||||
safe_system "#{bin}/pg_upgrade",
|
safe_system "#{bin}/pg_upgrade",
|
||||||
"-r",
|
"-r",
|
||||||
"-b", old_bin,
|
"-b", old_bin,
|
||||||
"-B", bin,
|
"-B", bin,
|
||||||
"-d", old_datadir,
|
"-d", old_datadir,
|
||||||
"-D", datadir,
|
"-D", datadir,
|
||||||
"-j", Hardware::CPU.cores.to_s
|
"-j", Hardware::CPU.cores.to_s
|
||||||
end
|
end
|
||||||
upgraded = true
|
upgraded = true
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue