mirror of
https://github.com/mudler/luet.git
synced 2025-09-03 08:14:46 +00:00
Enable PreserveSystemEssentialData on Upgrade/Uninstall
This commit is contained in:
@@ -89,6 +89,7 @@ var uninstallCmd = &cobra.Command{
|
||||
FullCleanUninstall: fullClean,
|
||||
CheckConflicts: checkconflicts,
|
||||
Ask: !yes,
|
||||
PreserveSystemEssentialData: true,
|
||||
})
|
||||
|
||||
if LuetCfg.GetSystem().DatabaseEngine == "boltdb" {
|
||||
|
@@ -92,6 +92,7 @@ var upgradeCmd = &cobra.Command{
|
||||
SolverUpgrade: universe,
|
||||
RemoveUnavailableOnUpgrade: clean,
|
||||
UpgradeNewRevisions: sync,
|
||||
PreserveSystemEssentialData: true,
|
||||
Ask: !yes,
|
||||
})
|
||||
inst.Repositories(repos)
|
||||
|
Reference in New Issue
Block a user