Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a deb package #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions deb/babe/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>, jay <[email protected]>
Description: Tool to manage services running on Marathon.

3 changes: 3 additions & 0 deletions deb/babe/DEBIAN/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
chmod 755 /usr/share/babe
ln -s /usr/share/babe /usr/bin/babe
2 changes: 2 additions & 0 deletions deb/babe/DEBIAN/postrm
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
rm -f /usr/bin/babe
4 changes: 4 additions & 0 deletions deb/build_package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
mkdir -p babe/usr/share
cp ../babe babe/usr/share/.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this?

dpkg-deb --build babe