Files
packages/net/ddns-scripts/test-version.sh
Josef Schlehofer ed32ce42d2 ddns-scripts: add version check override
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 <pepe.schlehofer@gmail.com>
2026-07-01 10:14:28 +02:00

18 lines
259 B
Bash
Executable File

#!/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