mirror of
https://github.com/bigbeartechworld/big-bear-scripts.git
synced 2026-03-31 06:24:02 -04:00
[PR #16] [MERGED] 🔧 refactor: Use #!/usr/bin/env bash in all shell scripts #19
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/bigbeartechworld/big-bear-scripts/pull/16
Author: @dragonfire1119
Created: 10/23/2024
Status: ✅ Merged
Merged: 10/23/2024
Merged by: @dragonfire1119
Base:
master← Head:Make-shebangs-portable📝 Commits (1)
321eba1🔧 refactor: Use #!/usr/bin/env bash in all shell scripts📊 Changes
61 files changed (+61 additions, -61 deletions)
View changed files
📝
batch-docker-volume-delete/run.sh(+1 -1)📝
calculate-php-pool/run.sh(+1 -1)📝
casaos-add-lan-ip-to-nextcloud-config/run.sh(+1 -1)📝
casaos-add-pm-to-nextcloud/run.sh(+1 -1)📝
casaos-appstore-edge/run.sh(+1 -1)📝
casaos-appstore-fix/run.sh(+1 -1)📝
casaos-check-if-blocked-by-ufw/run.sh(+1 -1)📝
casaos-docker-compose-update/run.sh(+1 -1)📝
casaos-generate-financial-freedom-app-key/run.sh(+1 -1)📝
casaos-immich-vectors-upgrade/run.sh(+1 -1)📝
change-casaos-web-ui-port/run.sh(+1 -1)📝
check-for-docker-port/run.sh(+1 -1)📝
check-if-docker-is-running-on-snap/run.sh(+1 -1)📝
copy-codex-docs-config/run.sh(+1 -1)📝
delete-docker-volumes-by-keyword/run.sh(+1 -1)📝
disable-dns-service/disable_dns_service.sh(+1 -1)📝
disk-usage-monitor/run.sh(+1 -1)📝
docker-cleanup/run.sh(+1 -1)📝
docker-exec-helper/run.sh(+1 -1)📝
download-zim-files/run.sh(+1 -1)...and 41 more files
📄 Description
This pull request refactors all the shell scripts in the project to use
#!/usr/bin/env bashinstead of#!/bin/bashas the shebang line. This change ensures that the scripts will run with the system's default Bash interpreter, even if it is not located at the standard/bin/bashpath.The main benefit of this change is improved compatibility across different systems, as the scripts will now work correctly regardless of the location of the Bash executable.
Summary by CodeRabbit
New Features
Bug Fixes
Chores
Style
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.