mirror of
https://github.com/YuleBest/FontMM.git
synced 2026-12-04 03:11:48 +08:00
feat(install): require volume confirmation for risks
This commit is contained in:
1 parent
362a1f766c
commit
78abbd8a5d
2 files changed
+61
-6
No files matched your search
@@ -15,11 +15,11 @@ elif [ -d /data/user/0/com.termux/files/usr/bin ]; then
|
||||
fi
|
||||
|
||||
# 工具可用性检查
|
||||
command -v shellcheck >/dev/null 2>&1 || {
|
||||
command -v shellcheck > /dev/null 2>&1 || {
|
||||
echo "[!] 未找到 shellcheck, 请先安装" >&2
|
||||
exit 1
|
||||
}
|
||||
command -v shfmt >/dev/null 2>&1 || {
|
||||
command -v shfmt > /dev/null 2>&1 || {
|
||||
echo "[!] 未找到 shfmt, 请先安装" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user