mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
6a20260a1f
Fix shellcheck shell configuration in version check overrides. Signed-off-by: George Sapkin <george@sapk.in>
17 lines
249 B
Bash
Executable File
17 lines
249 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# shellcheck shell=busybox
|
|
|
|
# checksec reported version doesn't match package version as of 3.1.0
|
|
|
|
case "$PKG_NAME" in
|
|
checksec)
|
|
checksec --version 2>&1 | grep -qF "2.7.1"
|
|
;;
|
|
|
|
*)
|
|
echo "Untested package: $PKG_NAME" >&2
|
|
exit 1
|
|
;;
|
|
esac
|