update 2026-07-22 01:11:14

This commit is contained in:
action 2026-07-22 01:11:14 +08:00
parent 8da9a63300
commit 7f27610078

View File

@ -70,6 +70,7 @@ define Package/$(PKG_NAME)/postinst
ID_CONF="/etc/internet-detector" ID_CONF="/etc/internet-detector"
SYSUP_CONF="/etc/sysupgrade.conf" SYSUP_CONF="/etc/sysupgrade.conf"
test -w "$$SYSUP_CONF" || exit 0
grep -e "^$${ID_CONF}" "$$SYSUP_CONF" > /dev/null || echo "$$ID_CONF" >> "$$SYSUP_CONF" grep -e "^$${ID_CONF}" "$$SYSUP_CONF" > /dev/null || echo "$$ID_CONF" >> "$$SYSUP_CONF"
exit 0 exit 0