Browse Source

Update install.sh

pull/37/head
Vincent Young 6 months ago
committed by GitHub
parent
commit
d45323f316
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      scripts/install.sh

4
scripts/install.sh

@ -144,7 +144,7 @@ backup_storage_json() {
# Detect OS / 检测操作系统 # Detect OS / 检测操作系统
detect_os() { detect_os() {
if [[ "$OSTYPE" == "darwin"* ]]; then if [[ "$OSTYPE" == "darwin"* ]]; then
echo "macos"
echo "darwin"
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then elif [[ "$OSTYPE" == "linux-gnu"* ]]; then
echo "linux" echo "linux"
else else
@ -292,4 +292,4 @@ main() {
} }
# Run main function / 运行主函数 # Run main function / 运行主函数
main "$@"
main "$@"
Loading…
Cancel
Save