Skip to content

Commit 12bfdef

Browse files
committed
void-updates: ignore meta packages
1 parent 8678799 commit 12bfdef

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

void-updates.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,20 @@ update_src() {
1717
GIT_WORK_TREE=$src GIT_DIR=$src/.git git pull -q
1818
}
1919

20+
is_meta() {
21+
(
22+
cd $src
23+
./xbps-src show $1 | grep -q '^build_style:[[:blank:]]*meta$'
24+
)
25+
}
26+
2027
find_pkgs() {
2128
local f p
2229

2330
for f in $src/srcpkgs/*; do
2431
p=$(basename $f)
2532

26-
if [ ! -h $f ] && [ -f $f/template ]; then
33+
if [ ! -h $f ] && [ -f $f/template ] && ! is_meta $p; then
2734
printf -- '%s\n' $p
2835
fi
2936
done

0 commit comments

Comments
 (0)