Author: kkaempf Date: Mon Oct 27 10:52:00 2008 New Revision: 11495 URL: http://svn.opensuse.org/viewcvs/zypp?rev=11495&view=rev Log: detect and report wrong placement of 'CONTENTSTYLE' Modified: trunk/sat-solver/tools/repo_content.c Modified: trunk/sat-solver/tools/repo_content.c URL: http://svn.opensuse.org/viewcvs/zypp/trunk/sat-solver/tools/repo_content.c?rev=11495&r1=11494&r2=11495&view=diff ============================================================================== --- trunk/sat-solver/tools/repo_content.c (original) +++ trunk/sat-solver/tools/repo_content.c Mon Oct 27 10:52:00 2008 @@ -365,6 +365,9 @@ * */ + else if (code10 && istag ("CONTENTSTYLE")) + /* CONTENTSTYLE must be first line */ + fprintf(stderr, "repo_content: 'CONTENTSTYLE' must be first line of 'content'\n"); else if (code10 && istag ("DISTPRODUCT")) /* DISTPRODUCT is for registration and Yast, not for the solver. */ repo_set_str(repo, s - pool->solvables, PRODUCT_DISTPRODUCT, value); -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org