-
Notifications
You must be signed in to change notification settings - Fork 10
59 lines (55 loc) · 5.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
class HazelcastManagementCenterAT560 < Formula
desc "Tool to run Hazelcast Management Center"
homepage "https://github.com/hazelcast/hazelcast-command-line"
version "5.6.0"
url "https://repository.hazelcast.com/download/management-center/hazelcast-management-center-5.6.0.tar.gz"
sha256 "2369e94e9fa98eff3e4ee6caf27db16812e97e897e286653a2e78a2619884bd1"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "[email protected]", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.5", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.4", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.3", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.2", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.1", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-5.0", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center-snapshot", because: "you can install only a single hazelcast-management-center package"
conflicts_with "hazelcast-management-center", because: "you can install only a single hazelcast-management-center package"
depends_on "openjdk@21" => :recommended
def install
libexec.install Dir["*"]
Dir["#{libexec}/bin/*mc*"].each do |path|
executable_name = File.basename(path)
if executable_name.end_with? ".bat"
next
end
(bin/executable_name).write_env_script libexec/"bin/#{executable_name}", Language::Java.overridable_java_home_env
end
prefix.install_metafiles
end
def post_install
exec "echo Hazelcast Management Center has been installed."
end
end