本文介绍了在安装Paket 2时,Paketmanger再次执行Paket 1的Postinstall脚本?为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!



我有两个debain包,使用paketmanageropkg-cl安装



我这样安装:



opkg-cl install Paket1



注意: Paket1有一个postinstall脚本,可以在安装paket后更改某些文本文件的内容。这很好用



现在我正在安装Paket2,这也应该可以,但文本文件被破坏了。我已经发现Paket1的安装后脚本会在安装Paket2时再次执行?为什么?如何禁用?



问候



Adam

解决方案

Hello!

I have two debain packet which are installed using the paketmanager "opkg-cl"

I´m installing it like that:

opkg-cl install Paket1

Note: Paket1 has a postinstall script which changes the content of some textfiles after the paket is installed. This works fine

Now I´m installing Paket2 and this also works like it should, but the textfiles get corrupted. I have figured out that the postinstall script of Paket1 is again executed during the installation of Paket2? Why? How to disable that?

regards

Adam

解决方案

这篇关于在安装Paket 2时,Paketmanger再次执行Paket 1的Postinstall脚本?为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 01:55