+ configured_action=$(userenv_query "$user" .otherPackagesAction)
+ action=
+ case "$configured_action" in
+ keep) action=-i;;
+ remove) action=-ir;;
+ set-remove) action=--set;;
+ *) die "Unexpected otherPackagesAction $configured_action for user $user"
+ esac