mirror of
https://github.com/mudler/luet.git
synced 2025-08-09 11:17:56 +00:00
Load config protect files on upgrade/uninstall
This commit is contained in:
parent
68bc8d4d27
commit
0f59c207b0
@ -75,6 +75,9 @@ var uninstallCmd = &cobra.Command{
|
|||||||
}
|
}
|
||||||
Debug("Solver", LuetCfg.GetSolverOptions().CompactString())
|
Debug("Solver", LuetCfg.GetSolverOptions().CompactString())
|
||||||
|
|
||||||
|
// Load config protect configs
|
||||||
|
installer.LoadConfigProtectConfs(LuetCfg)
|
||||||
|
|
||||||
inst := installer.NewLuetInstaller(installer.LuetInstallerOptions{
|
inst := installer.NewLuetInstaller(installer.LuetInstallerOptions{
|
||||||
Concurrency: LuetCfg.GetGeneral().Concurrency,
|
Concurrency: LuetCfg.GetGeneral().Concurrency,
|
||||||
SolverOptions: *LuetCfg.GetSolverOptions(),
|
SolverOptions: *LuetCfg.GetSolverOptions(),
|
||||||
|
@ -78,6 +78,9 @@ var upgradeCmd = &cobra.Command{
|
|||||||
|
|
||||||
Debug("Solver", LuetCfg.GetSolverOptions().String())
|
Debug("Solver", LuetCfg.GetSolverOptions().String())
|
||||||
|
|
||||||
|
// Load config protect configs
|
||||||
|
installer.LoadConfigProtectConfs(LuetCfg)
|
||||||
|
|
||||||
inst := installer.NewLuetInstaller(installer.LuetInstallerOptions{
|
inst := installer.NewLuetInstaller(installer.LuetInstallerOptions{
|
||||||
Concurrency: LuetCfg.GetGeneral().Concurrency,
|
Concurrency: LuetCfg.GetGeneral().Concurrency,
|
||||||
SolverOptions: *LuetCfg.GetSolverOptions(),
|
SolverOptions: *LuetCfg.GetSolverOptions(),
|
||||||
|
Loading…
Reference in New Issue
Block a user