From a19137a6babfb3f827e66e7a65f94c2ea666033a Mon Sep 17 00:00:00 2001 From: metamorphosis-dev Date: Sat, 21 Mar 2026 09:21:00 +0000 Subject: [PATCH] fix: use portable shebangs for non-FHS compatibility Change #!/bin/bash to #!/usr/bin/env bash in all shell scripts. This ensures compatibility with non-FHS compliant distros like NixOS, where bash is not located at /bin/bash. --- setup.sh | 2 +- start.sh | 2 +- update.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 2f7f4f1a..b5f37623 100644 --- a/setup.sh +++ b/setup.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "========================================" echo "Antigravity2API 一键启动脚本" diff --git a/start.sh b/start.sh index 251b6fba..b11c3506 100644 --- a/start.sh +++ b/start.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "========================================" echo "Antigravity2API 启动脚本" diff --git a/update.sh b/update.sh index 9b5ad489..c6ec9e50 100644 --- a/update.sh +++ b/update.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash echo "========================================" echo "Antigravity2API 更新脚本"