From f77d9c32b7402c0ff1159954beeeb571038cdf01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20=C3=81lvaro?= Date: Wed, 30 Oct 2024 19:15:47 +0100 Subject: [PATCH] salt(cask): Change repository More info at: https://saltproject.io/blog/salt-project-package-repo-migration-and-guidance/ --- Casks/salt.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Casks/salt.rb b/Casks/salt.rb index e235aab..ab7ee18 100644 --- a/Casks/salt.rb +++ b/Casks/salt.rb @@ -38,14 +38,15 @@ def self.patch_plist(daemon) sha256 arm: "968b7701a470f5786474dea4489f96b546e7b6340ba734695b7899aa6edf14a2", intel: "865d2d3792659ddbd48940b0e031a3e9652a85977cf0a2ef3a5ec00e34eb66cb" - url "https://repo.saltproject.io/salt/py3/macos/minor/#{version}/salt-#{version}-py3-#{arch}.pkg" + url "https://packages.broadcom.com/artifactory/saltproject-generic/macos/#{version}/salt-#{version}-py3-#{arch}.pkg", + verified: "packages.broadcom.com/artifactory/saltproject-generic/" name "Salt" desc "Automation and infrastructure management engine" homepage "https://saltproject.io/" livecheck do - url "https://repo.saltproject.io/salt/py3/macos/latest" - regex(/salt[._-]v?(\d+(?:\.\d+)+)-py3-#{arch}\.pkg/) + url "https://docs.saltproject.io/en/latest/topics/releases/index.html" + regex(/href="[0-9.]+.html">Salt (\d+\.\d+) release notes/i) end conflicts_with formula: "salt"