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 1 commit
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.

1 change: 1 addition & 0 deletions deb/babe/DEBIAN/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
chmod 755 /usr/bin/babe
Copy link
Collaborator

Choose a reason for hiding this comment

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

Put folder called babe in /usr/share. Symlink to usr/bin

3 changes: 3 additions & 0 deletions deb/build_package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash
cp ../babe babe/usr/bin/.
dpkg-deb --build babe