]> git.99rst.org Git - openwrt-packages.git/commitdiff
ddns-scripts: add version check override
authorJosef Schlehofer <redacted>
Tue, 30 Jun 2026 13:33:13 +0000 (15:33 +0200)
committerJosef Schlehofer <redacted>
Wed, 1 Jul 2026 08:14:28 +0000 (10:14 +0200)
None of the ddns-scripts executables or scripts report the package version when
run, which causes the generic version probe to fail.

Add a test-version.sh to skip the version check for ddns-scripts and all of
its subpackages.

Signed-off-by: Josef Schlehofer <redacted>
net/ddns-scripts/test-version.sh [new file with mode: 0755]

diff --git a/net/ddns-scripts/test-version.sh b/net/ddns-scripts/test-version.sh
new file mode 100755 (executable)
index 0000000..02b5df8
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+# shellcheck shell=busybox
+
+# None of the ddns-scripts executables or scripts print the package version.
+# Skip the generic version probe.
+
+case "$PKG_NAME" in
+ddns-scripts*)
+       exit 0
+       ;;
+
+*)
+       echo "Untested package: $PKG_NAME" >&2
+       exit 1
+       ;;
+esac
git clone https://git.99rst.org/PROJECT