Files
Alexandru Ardelean 418ba9a99f cifs-utils: update to 7.7 + more tests + add python3-light dep
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>
2026-07-31 14:15:38 +03:00

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