{"id":23509135,"url":"https://github.com/scriptingosx/gnu-bash-mac-installer","last_synced_at":"2025-04-16T19:51:02.817Z","repository":{"id":148495955,"uuid":"173073291","full_name":"scriptingosx/GNU-bash-mac-installer","owner":"scriptingosx","description":"Downloads and builds a Mac package installer for GNU bash 5","archived":false,"fork":false,"pushed_at":"2019-07-03T14:16:15.000Z","size":15,"stargazers_count":24,"open_issues_count":1,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T05:41:24.832Z","etag":null,"topics":["bash","deployment","mac","macadmin","macosx","pkg","pkgbuild"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scriptingosx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-28T08:33:52.000Z","updated_at":"2025-02-02T03:01:24.000Z","dependencies_parsed_at":"2023-05-20T08:00:18.783Z","dependency_job_id":null,"html_url":"https://github.com/scriptingosx/GNU-bash-mac-installer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptingosx%2FGNU-bash-mac-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptingosx%2FGNU-bash-mac-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptingosx%2FGNU-bash-mac-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptingosx%2FGNU-bash-mac-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scriptingosx","download_url":"https://codeload.github.com/scriptingosx/GNU-bash-mac-installer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249269945,"owners_count":21241236,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","deployment","mac","macadmin","macosx","pkg","pkgbuild"],"created_at":"2024-12-25T11:37:52.523Z","updated_at":"2025-04-16T19:51:02.812Z","avatar_url":"https://github.com/scriptingosx.png","language":"Shell","readme":"# Build a GNU bash package installer for Mac\n\nThis script automates the process of downloading, building, and packaging `bash` for macOS.\n\nYou can provide a different version to download and build as the first argument. The default value is `5.0`. I have _not_ tested this thoroughly with older versions, use at your own risk.\n\nThe resulting package installer will install `bash` in `/usr/local/bin` and the supporting files in `/usr/local`.\n\nThis script will change the name of the `bash` binary installed in `/usr/local/bin/` to `bash5` or `bash4` to avoid _any_ naming conflicts with the built-in `bash` v3 in `/bin`. This also allows you to have both bash v4 and bash v5 installed on the same system.\n\nYou can change this behavior by setting [the `renamebinary` variable to `0`](https://github.com/scriptingosx/GNU-bash-mac-installer/blob/b6f4190a95849015771fbcc8cff4392fa7239666/buildGNUbashPkg.sh#L18). Or you can modify the `postinstall` script to add a symbolic link.\n\nThe path to the `bash` binary will be added to `/etc/shells` on the target system, so that users can use `chsh` to switch their default shell.\n\nYou can get more background to this script in [this post on my weblog](https://scriptingosx.com/?p=849).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptingosx%2Fgnu-bash-mac-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptingosx%2Fgnu-bash-mac-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptingosx%2Fgnu-bash-mac-installer/lists"}