Skip to content

Commit 12942b3

Browse files
committed
void-updates: ignore git packages
1 parent 12bfdef commit 12942b3

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
@@ -24,13 +24,20 @@ is_meta() {
2424
)
2525
}
2626

27+
is_versioned() {
28+
case $1 in
29+
*-git) return 1;;
30+
esac
31+
return 0
32+
}
33+
2734
find_pkgs() {
2835
local f p
2936

3037
for f in $src/srcpkgs/*; do
3138
p=$(basename $f)
3239

33-
if [ ! -h $f ] && [ -f $f/template ] && ! is_meta $p; then
40+
if [ ! -h $f ] && [ -f $f/template ] && ! is_meta $p && is_versioned $p; then
3441
printf -- '%s\n' $p
3542
fi
3643
done

0 commit comments

Comments
 (0)