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