made use of the new ALLDEPS transaction flag to handle "makepkg -s"

This commit is contained in:
Aurelien Foret 2006-01-10 18:45:32 +00:00
parent 668e58626d
commit 325d297739

View file

@ -321,6 +321,7 @@ int parseargs(int argc, char *argv[])
case 'D': case 'D':
config->op = (config->op != PM_OP_MAIN ? 0 : PM_OP_DEPTEST); config->op = (config->op != PM_OP_MAIN ? 0 : PM_OP_DEPTEST);
config->op_d_resolve = 1; config->op_d_resolve = 1;
config->flags |= PM_TRANS_FLAG_ALLDEPS;
break; break;
case 'F': case 'F':
config->op = (config->op != PM_OP_MAIN ? 0 : PM_OP_UPGRADE); config->op = (config->op != PM_OP_MAIN ? 0 : PM_OP_UPGRADE);