转速在spec文件中编写脚本
是否可以在spec文件中编写ksh脚本?
目标是
根据spec文件在rpm -i my_rpm.rpm期间,ksh脚本将执行一些安装和操作配置
例如运行其他脚本并编辑一些文件
THX
is it possible to write ksh script in the spec file?
the target is during rpm -i my_rpm.rpm
according to the spec file , ksh script will do some installation & configuration
for example run other script and edit some files
THX
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

发布评论
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
我相信您可以使用
-p
指定脚本中使用的 shell。所以它看起来像:
或者:
You can specify the shell to use in the script with
-p
I believe.So it would look like:
Or: