mirror of
https://github.com/openwrt/packages.git
synced 2026-05-31 06:51:51 +08:00
c92624aaad
The upstream repository was renamed from checksec.sh to checksec and the main script was renamed from checksec to checksec.bash (still installed as /usr/bin/checksec). The checksec_automator subpackage was removed upstream, so drop it. Update PKG_NAME accordingly and adjust the install rule. Changelog: https://github.com/slimm609/checksec/releases/tag/3.1.0 Co-authored-by: George Sapkin <george@sapk.in> Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
10 lines
158 B
Bash
10 lines
158 B
Bash
#!/bin/sh
|
|
|
|
# checksec reported version doesn't match package version as of 3.1.0
|
|
|
|
case "$1" in
|
|
checksec)
|
|
checksec --version 2>&1 | grep -qF "2.7.1"
|
|
;;
|
|
esac
|