Please keep in mind this is the first time I've ever written a bash script, worked on Linux just the first time really that I'm trying to achieve something like this.
I've written a script that I now want to make available to other people, I will be posting it on Github and what not. I've read and followed this up until step 6. But I can't seem to figure out how to apply it for my own needs.
What I have is three scripts. One script makes use of the two others. They are right now just sitting in a directory. What I want to do is make it installable by making a .deb
package of it.
When you install the package I want the scripts to be placed in a corresponding directory in /etc
and I want to be able to create the man page
and alias etc in the install process so everything will work after installing the program.
Could someone help me out on how to do this, or point me to a good tutorial that will help me to figure this out.
install
where to throw each of your scripts. – Sergiy Kolodyazhnyy Dec 30 '16 at 12:52apt-get install <mypackage>
? – NoSixties Jan 06 '17 at 22:46apt-get update
and thenapt-get install
. There's also other ways, but if you wantapt-get
way, you need to have PPA created – Sergiy Kolodyazhnyy Jan 06 '17 at 22:50