maybe include preinst script

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2022-10-07 22:45:39 -05:00
parent 38db367f3d
commit 23ce736cf0
1 changed files with 2 additions and 2 deletions

View File

@ -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