From: Jiang Tengfei Date: Fri, 26 Jun 2026 14:34:25 +0000 (+0800) Subject: ddns-scripts: fix one.com prerm test syntax X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=3aca37405647d78ce38858a5c6491301d9b80e31;p=openwrt-packages.git ddns-scripts: fix one.com prerm test syntax Add the missing spaces around the test bracket in the one.com pre-removal script and escape IPKG_INSTROOT consistently with the other subpackages. Signed-off-by: Jiang Tengfei --- diff --git a/net/ddns-scripts/Makefile b/net/ddns-scripts/Makefile index 6d50cb838..aa49f64e9 100644 --- a/net/ddns-scripts/Makefile +++ b/net/ddns-scripts/Makefile @@ -933,7 +933,7 @@ endef define Package/ddns-scripts-one/prerm #!/bin/sh -if [-z "${IPKG_INSTROOT}" ]; then +if [ -z "$${IPKG_INSTROOT}" ]; then /etc/init.d/ddns stop fi exit 0