Implement "Add/remove all from configuration" package conflict resolution strategy #1

Merged
jutty merged 5 commits from all-in-configuration-strategy into main 2024-07-14 12:27:51 +02:00
Showing only changes of commit cae379cbcb - Show all commits

View file

@ -38,6 +38,7 @@ not_on_configuration_dialog() {
if [ "$strategy" = 6 ]; then
log debug "[resolve_packages] User choice: Cancel or empty"
return 0
elif [ "$strategy" = 1 ]; then
package_manager uninstall "$conflicted_packages"
elif [ "$strategy" = 2 ]; then
@ -81,6 +82,7 @@ not_installed_dialog() {
if [ "$strategy" = 6 ]; then
log debug "[resolve_packages] User choice: Cancel or empty"
return 0
elif [ "$strategy" = 1 ]; then
package_manager install "$conflicted_packages"
elif [ "$strategy" = 2 ]; then