Skip to content

Commit

Permalink
Merge pull request Homebrew#171467 from Homebrew/osinfo-db
Browse files Browse the repository at this point in the history
osinfo-db: simplify install
  • Loading branch information
chenrui333 authored May 11, 2024
2 parents f974ee7 + 4c5178c commit 2705dc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/o/osinfo-db.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class OsinfoDb < Formula
desc "Osinfo database of operating systems for virtualization provisioning tools"
homepage "https://libosinfo.org/"
url "https://releases.pagure.org/libosinfo/osinfo-db-20240510.tar.xz"
url "https://releases.pagure.org/libosinfo/osinfo-db-20240510.tar.xz", using: :nounzip
sha256 "08a2d521c485687f6be39940d5b3f61bc0f583bb7e3655a131c658385eb7e5ca"
license "GPL-2.0-or-later"

Expand All @@ -23,7 +23,7 @@ class OsinfoDb < Formula
depends_on "osinfo-db-tools" => [:build, :test]

def install
system "osinfo-db-import", "--dir=#{share}/osinfo", cached_download
system "osinfo-db-import", "--dir=#{share}/osinfo", "osinfo-db-#{version}.tar.xz"
end

test do
Expand Down

0 comments on commit 2705dc2

Please sign in to comment.