mirror of
https://github.com/openwrt/packages.git
synced 2026-10-13 12:17:19 +04:00
Update to the latest upstream stable release. Replace the version-only test.sh with checks that exercise the installed binaries. smbinfo ships as a /usr/bin/python3 script, so add +python3-light or it cannot exec; it also has no version flag, so add test-version.sh to override the generic per-executable version probe (skipping smbinfo). Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
14 lines
298 B
Bash
Executable File
14 lines
298 B
Bash
Executable File
#!/bin/sh
|
|
|
|
case "$PKG_NAME" in
|
|
cifsmount)
|
|
# mount.cifs -V prints "mount.cifs version: X.Y".
|
|
mount.cifs -V 2>&1 | grep -F "$PKG_VERSION"
|
|
;;
|
|
*)
|
|
# smbinfo is a python sub-command tool with no version flag, so the
|
|
# generic probe cannot read a version from it; nothing to assert.
|
|
exit 0
|
|
;;
|
|
esac
|