From 37e8a329eac342d4184f32116247197b805fe54b Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 19 Jan 2021 07:41:37 +0100 Subject: postfix-pgsql: Updated for version 3.5.9 --- lib/download.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/download.rb') diff --git a/lib/download.rb b/lib/download.rb index 44a9553..8634721 100644 --- a/lib/download.rb +++ b/lib/download.rb @@ -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) -- cgit v1.2.3