mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 11:33:49 +02:00
common/hooks/pre-pkg/04-generate-provides: simplify cmd: provides generation
This commit is contained in:
parent
5e44650ebd
commit
8a5d2272b1
1 changed files with 1 additions and 2 deletions
|
@ -27,8 +27,7 @@ generate_pkgconfig_provides() {
|
|||
}
|
||||
|
||||
generate_cmd_provides() {
|
||||
find "${PKGDESTDIR}/usr/bin" -maxdepth 1 -type f -printf '%f\n' 2>/dev/null \
|
||||
| sed 's/^.*$/cmd:&-'"${version}_${revision}"'/' | sort -u
|
||||
find "${PKGDESTDIR}/usr/bin" -maxdepth 1 -type f -printf "cmd:%f-${version}_${revision}\n" 2>/dev/null | sort -u
|
||||
}
|
||||
|
||||
generate_alt_cmd_provides() {
|
||||
|
|
Loading…
Add table
Reference in a new issue