summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuildrepo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildrepo.lua b/buildrepo.lua
index c665711..bf0f39a 100755
--- a/buildrepo.lua
+++ b/buildrepo.lua
@@ -239,7 +239,7 @@ for _,repo in pairs(args) do
end
-- generate new apkindex
- if not opts.n and built > 0 then
+ if not opts.n and (built > 0 or deleted > 0) then
info("Updating apk index")
apkrepo.update_index(("%s/%s"):format(repodest, repo),
abuild.arch, db:git_describe())