added option to pass yes string to validate package installation with license agreement, useful for sun-jre6 for example
fix invalid syntax due to extra paren
added mention of yes string to docs