diff --git a/deb/babe/DEBIAN/control b/deb/babe/DEBIAN/control new file mode 100755 index 0000000..3debb03 --- /dev/null +++ b/deb/babe/DEBIAN/control @@ -0,0 +1,9 @@ +Package: babe +Version: 1.0 +Section: pp/ops +Priority: standard +Architecture: all +Depends: python-requests,libpython2.7-stdlib,python-dateutil,python-tabulate, python-termcolor +Maintainer: santanusinha , jay +Description: Tool to manage services running on Marathon. + diff --git a/deb/babe/DEBIAN/postinst b/deb/babe/DEBIAN/postinst new file mode 100755 index 0000000..664af9a --- /dev/null +++ b/deb/babe/DEBIAN/postinst @@ -0,0 +1,3 @@ +#!/bin/bash +chmod 755 /usr/share/babe +ln -s /usr/share/babe /usr/bin/babe diff --git a/deb/babe/DEBIAN/postrm b/deb/babe/DEBIAN/postrm new file mode 100755 index 0000000..db284bc --- /dev/null +++ b/deb/babe/DEBIAN/postrm @@ -0,0 +1,2 @@ +#!/bin/bash +rm -f /usr/bin/babe diff --git a/deb/build_package.sh b/deb/build_package.sh new file mode 100755 index 0000000..22ac863 --- /dev/null +++ b/deb/build_package.sh @@ -0,0 +1,4 @@ +#!/bin/bash +mkdir -p babe/usr/share +cp ../babe babe/usr/share/. +dpkg-deb --build babe