postfix-pgsql: Updated for version 3.5.9

This commit is contained in:
2021-01-19 07:41:37 +01:00
parent c246444f8d
commit 37e8a329ea
7 changed files with 78 additions and 15 deletions

View File

@ -89,7 +89,7 @@ end
def clone(repo, tarball)
name_version = File.basename tarball, '.tar.xz'
remote_path = tarball[tarball.index('/')..-1]
remote_path = tarball[tarball.index('/')..]
if remote_file_exists?(remote_path)
uri = URI hosted_sources(remote_path)
@ -105,7 +105,7 @@ def clone(repo, tarball)
end
def download_and_deploy(uri, tarball)
remote_path = tarball[tarball.index('/')..-1]
remote_path = tarball[tarball.index('/')..]
if remote_file_exists?(remote_path)
uri = URI hosted_sources(remote_path)

View File

@ -5,10 +5,7 @@
# frozen_string_literal: true
class Package
attr_reader :path
attr_reader :version
attr_reader :homepage
attr_reader :requires
attr_reader :path, :version, :homepage, :requires
def initialize(path, version:, homepage:, requires: [])
@path = path