svn path=/main/branches/2.1.2/; revision=7070
elif org_iuse.intersection(orig_use) != \
cur_iuse.intersection(cur_use):
return True
- elif "changed-use" in self.myopts.get("--reinstall","").split(","):
+ elif "changed-use" == self.myopts.get("--reinstall"):
if org_iuse.intersection(orig_use) != \
cur_iuse.intersection(cur_use):
return True
"choices":("y", "n")
},
"--reinstall": {
- "help":"specify conditions to trigger package reinstallation"
+ "help":"specify conditions to trigger package reinstallation",
+ "type":"choice",
+ "choices":["changed-use"]
}
}