maybe include preinst script
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
38db367f3d
commit
23ce736cf0
|
@ -1,5 +1,5 @@
|
|||
NAME=mattermost
|
||||
DEB=${NAME}_7.3.0.v2_amd64.deb
|
||||
DEB=${NAME}_7.3.0.v3_amd64.deb
|
||||
|
||||
all: md5sum create info
|
||||
|
||||
|
@ -15,7 +15,7 @@ md5sum:
|
|||
cd files/ && find -type f -exec md5sum '{}' \; >../DEBIAN/md5sums
|
||||
|
||||
create:
|
||||
cd DEBIAN && tar --ignore-failed-read -cvJf ../control.tar.xz ${NAME}.{post,pre}{inst,rm} md5sums control
|
||||
cd DEBIAN && tar --ignore-failed-read -cvJf ../control.tar.xz ${NAME}.{post,pre}{inst,rm} md5sums control mattermost.preinst
|
||||
cd files && tar -cvJf ../data.tar.xz .
|
||||
ar rcs ${DEB} debian-binary control.tar.xz data.tar.xz
|
||||
|
||||
|
|
Loading…
Reference in New Issue