blob: 40764fdfa8c1667cf0e15ff199b54ff2f825975c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/buildrepo.lua b/buildrepo.lua
index bc0a784..498d6c3 100755
--- a/buildrepo.lua
+++ b/buildrepo.lua
@@ -227,7 +227,7 @@ for _,repo in pairs(args) do
end
-- generate new apkindex
- if not opts.n then
+ if not opts.n and built > 0 then
info("Updating apk index")
apkrepo.update_index(("%s/%s"):format(repodest, repo),
abuild.arch, db:git_describe())
|