打包高手帮个忙~~

编译打包和其他
回复
tutuvip
帖子: 16
注册时间: 2008-04-06 19:00
联系:

打包高手帮个忙~~

#1

帖子 tutuvip » 2010-08-16 9:06

我想把一堆文件打包成DEB
但是要求在安装时候用户能输入信息
比如创建密码啥的
这个该怎么实现呢~~
高手帮帮忙哈~~~ :em01
tutuvip
帖子: 16
注册时间: 2008-04-06 19:00
联系:

Re: 打包高手帮个忙~~

#2

帖子 tutuvip » 2010-08-16 9:44

我是想吧软件的一堆零散的文件打成DEB安装时候方便些
但是要求输入密码等一些用户信息的~
头像
fanhe
帖子: 2357
注册时间: 2007-03-24 23:45

Re: 打包高手帮个忙~~

#3

帖子 fanhe » 2010-08-16 11:11

preinst
postinst
prerm
postrm
这几个脚本,手动写完,再打包
tutuvip
帖子: 16
注册时间: 2008-04-06 19:00
联系:

Re: 打包高手帮个忙~~

#4

帖子 tutuvip » 2010-08-16 13:27

fanhe 写了:preinst
postinst
prerm
postrm
这几个脚本,手动写完,再打包
您能详细的解释下吗?我不懂,谢谢~
头像
fanhe
帖子: 2357
注册时间: 2007-03-24 23:45

Re: 打包高手帮个忙~~

#5

帖子 fanhe » 2010-08-16 19:04

tutuvip 写了:
fanhe 写了:preinst
postinst
prerm
postrm
这几个脚本,手动写完,再打包
您能详细的解释下吗?我不懂,谢谢~
如果在安装前、安装后、卸载前、卸载后需要做一些操作的话,就要分别写脚本 preinst postinst prerm postrm 来处理
放到 DEBIAN(debian) 目录即可
就是写一下脚本
tutuvip
帖子: 16
注册时间: 2008-04-06 19:00
联系:

Re: 打包高手帮个忙~~

#6

帖子 tutuvip » 2010-08-18 10:52

谢谢LS 的,,搞定了。。。。 :em05 :em05
回复