dpkg: create var paths in post_install
Closes #3324. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
a663e8af54
commit
f54404d26c
1 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,11 @@ class Dpkg < Formula
|
|||
(etc/"dpkg/origins").install_symlink "dummy" => "default"
|
||||
end
|
||||
|
||||
def post_install
|
||||
(var/"lib/dpkg").mkpath
|
||||
(var/"log").mkpath
|
||||
end
|
||||
|
||||
def caveats; <<-EOS.undent
|
||||
This installation of dpkg is not configured to install software, so
|
||||
commands such as `dpkg -i`, `dpkg --configure` will fail.
|
||||
|
|
Loading…
Reference in a new issue