mirror of
https://github.com/mudler/luet.git
synced 2025-09-01 07:09:13 +00:00
Move repository helpers under config
They are generated after the system config, let the structure provide such information
This commit is contained in:
@@ -64,7 +64,7 @@ var uninstallCmd = &cobra.Command{
|
||||
|
||||
if LuetCfg.GetSystem().DatabaseEngine == "boltdb" {
|
||||
systemDB = pkg.NewBoltDatabase(
|
||||
filepath.Join(helpers.GetSystemRepoDatabaseDirPath(), "luet.db"))
|
||||
filepath.Join(LuetCfg.GetSystem().GetSystemRepoDatabaseDirPath(), "luet.db"))
|
||||
} else {
|
||||
systemDB = pkg.NewInMemoryDatabase(true)
|
||||
}
|
||||
|
Reference in New Issue
Block a user