diff --git a/.debian/DEBIAN/control b/.debian/DEBIAN/control index 4c11898..bdbec46 100644 --- a/.debian/DEBIAN/control +++ b/.debian/DEBIAN/control @@ -1,11 +1,11 @@ Package: mattermost Source: mattermost -Version: 7.3.0 +Version: 7.3.0.v2 Architecture: amd64 Maintainer: Jeff Carr Installed-Size: 5883 Section: network -Requires: postgresql +Depends: postgresql Priority: optional Homepage: https://github.com/mattermost/mattermost-server Description: mattermost diff --git a/.debian/DEBIAN/mattermost.preinst b/.debian/DEBIAN/mattermost.preinst new file mode 100755 index 0000000..3fed903 --- /dev/null +++ b/.debian/DEBIAN/mattermost.preinst @@ -0,0 +1,7 @@ +#!/bin/sh +echo "got here in mattermost -- jcarr put this here" +touch /tmp/mattermost.jcarr.install +set -e +# Automatically added by dh_installdeb/13.9.1 +# dpkg-maintscript-helper symlink_to_dir /usr/share/doc/vim vim-common 2:8.0.1451-1\~ vim -- "$@" +# End automatically added section diff --git a/.debian/Makefile b/.debian/Makefile index 3b56ccc..7eb9655 100644 --- a/.debian/Makefile +++ b/.debian/Makefile @@ -1,4 +1,5 @@ -DEB=mattermost_7.3.0_amd64.deb +NAME=mattermost +DEB=${NAME}_7.3.0.v2_amd64.deb all: md5sum create info @@ -14,7 +15,7 @@ md5sum: cd files/ && find -type f -exec md5sum '{}' \; >../DEBIAN/md5sums create: - cd DEBIAN && tar --ignore-failed-read -cvJf ../control.tar.xz {post,pre}{inst,rm} md5sums control + cd DEBIAN && tar --ignore-failed-read -cvJf ../control.tar.xz ${NAME}.{post,pre}{inst,rm} md5sums control cd files && tar -cvJf ../data.tar.xz . ar rcs ${DEB} debian-binary control.tar.xz data.tar.xz