Lines 2219-2224
Link Here
|
2219 |
usepkgonly = "--usepkgonly" in self.myopts |
2219 |
usepkgonly = "--usepkgonly" in self.myopts |
2220 |
empty = "empty" in self.myparams |
2220 |
empty = "empty" in self.myparams |
2221 |
selective = "selective" in self.myparams |
2221 |
selective = "selective" in self.myparams |
|
|
2222 |
reinstall = False |
2222 |
noreplace = "--noreplace" in self.myopts |
2223 |
noreplace = "--noreplace" in self.myopts |
2223 |
# Behavior of the "selective" parameter depends on |
2224 |
# Behavior of the "selective" parameter depends on |
2224 |
# whether or not a package matches an argument atom. |
2225 |
# whether or not a package matches an argument atom. |
Lines 2239-2245
Link Here
|
2239 |
if existing_node: |
2240 |
if existing_node: |
2240 |
break |
2241 |
break |
2241 |
if installed and not find_existing_node: |
2242 |
if installed and not find_existing_node: |
2242 |
want_reinstall = empty or \ |
2243 |
want_reinstall = reinstall or empty or \ |
2243 |
(found_available_arg and not selective) |
2244 |
(found_available_arg and not selective) |
2244 |
if want_reinstall and matched_packages: |
2245 |
if want_reinstall and matched_packages: |
2245 |
continue |
2246 |
continue |
Lines 2361-2366
Link Here
|
2361 |
self._reinstall_for_flags( |
2362 |
self._reinstall_for_flags( |
2362 |
forced_flags, old_use, old_iuse, |
2363 |
forced_flags, old_use, old_iuse, |
2363 |
cur_use, cur_iuse) |
2364 |
cur_use, cur_iuse) |
|
|
2365 |
if reinstall_for_flags: |
2366 |
reinstall = True |
2364 |
if not installed: |
2367 |
if not installed: |
2365 |
must_reinstall = empty or \ |
2368 |
must_reinstall = empty or \ |
2366 |
(myarg and not selective) |
2369 |
(myarg and not selective) |