Update install.sh

This commit is contained in:
星光-k
2025-01-13 16:01:10 +08:00
committed by GitHub
parent d32459ce9d
commit d6d86a0424

View File

@@ -261,6 +261,8 @@ 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
echo "安装sugar-wifi-conf完成请执行重启命令"
echo "sudo reboot now"
echo "sugar-wifi-conf安装失败" >&2
echo "如需要请手动运行curl $PI_SUGAR_WIFI_CONF_URL | sudo bash" >&2
exit 1