This question already has an answer here:
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.