Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
create a .deb Package from scripts or binaries

I've made a bash script and stored it in /usr/local/bin. In the future, I'd like to get this bash script in /usr/local/bin again by just installing a .deb file. How can I get this done?

share|improve this question

marked as duplicate by andrewsomething, Exeleration-G, Eliah Kagan, Gilles, izx Aug 1 '12 at 22:51

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
pastebin the bash script and i'll consider doing a walkthrough packaging it and upping it to ppa. just a thought no promises –  hbdgaf Aug 1 '12 at 20:15
    
Sounds awesome. I don't think that a PPA is really necessary though, as it's just a really simple script. Updated the question to include a link to the bash script. –  Exeleration-G Aug 1 '12 at 20:43
    
Looks like the duplicate answers my question. Thanks! –  Exeleration-G Aug 1 '12 at 20:57

1 Answer 1

You would need to make a package from scratch using the packaging guide to create the package. You'd have to make sure the package is compliant with Lintian as well, all this is outlined in that guide. Either that, or have someone package it and put it in a PPA for you.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.