Update install.sh

This commit is contained in:
星光-k
2025-01-13 15:36:55 +08:00
committed by GitHub
parent 964811eac8
commit 380bea6607

View File

@@ -260,7 +260,7 @@ setup_service() {
install_sugar-wifi-conf() {
if [ "$USE_PI_SUGAR_WIFI_CONF" = true ]; then
echo "正在安装sugar-wifi-conf"
if ! curl $PI_SUGAR_WIFI_CONF_URL | sudo bash; then
if ! curl "$PI_SUGAR_WIFI_CONF_URL" | sudo bash; then
echo "sugar-wifi-conf安装失败" >&2
echo "如需要请手动运行curl $PI_SUGAR_WIFI_CONF_URL | sudo bash" >&2
exit 1