Skip to content

Commit

Permalink
support mineos more extensively
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Mar 12, 2024
1 parent 3102aac commit 8879b28
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ contents:
- src: minio.service
dst: /lib/systemd/system/minio.service
{{end}}
{{if eq .Binary "mineos" }}
- src: minio.service
dst: /lib/systemd/system/minio.service
{{end}}
`

type dlInfo struct {
Expand Down Expand Up @@ -501,7 +505,7 @@ func doPackage(appName, release, packager string) error {
}(),
Binary: func() string {
if appName == "minio-enterprise" {
return "minio"
return "mineos"
}
return appName
}(),
Expand Down

0 comments on commit 8879b28

Please sign in to comment.