Instantly share code, notes, and snippets.
rpm -qpl --scripts xxx.rpm
rpm的-q参数是用来进行查询的既可以对安装在系统上的包进行查询,也可以对一个未安装的rpm包进行查询。