]> git.99rst.org Git - openwrt-packages.git/commitdiff
ddns-scripts: fix one.com prerm test syntax
authorJiang Tengfei <redacted>
Fri, 26 Jun 2026 14:34:25 +0000 (22:34 +0800)
committerFlorian Eckert <redacted>
Tue, 7 Jul 2026 06:02:21 +0000 (08:02 +0200)
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 <redacted>
net/ddns-scripts/Makefile

index 6d50cb838f57e19efe9bd5f2c34ba93a03f6ed6c..aa49f64e935364b15182afcdf98f231979df1308 100644 (file)
@@ -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
git clone https://git.99rst.org/PROJECT