From 7faa452a9e1385f4d4d298e57eaf6c05dd774fbd Mon Sep 17 00:00:00 2001 From: Fjorge <30599715+FjorgeTheHuman@users.noreply.github.com> Date: Thu, 6 Jul 2023 02:23:13 -0400 Subject: [PATCH] fix: populate package index on first access --- lib/qbot/arch_repos.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/qbot/arch_repos.rb b/lib/qbot/arch_repos.rb index 35e2099..a47dcf2 100644 --- a/lib/qbot/arch_repos.rb +++ b/lib/qbot/arch_repos.rb @@ -28,6 +28,8 @@ def initialize @index = self.class.mk_index(@path) super(@index) + + populate_from_global_cache end def pkg_names_query(str)