What: I've a shell script that I'd like to distribute to my LUG. I believe that a debian package will be the easiest way to distribute it. I want to create a .deb file for the script in this repository
Where: I want it to be placed in some directory like /usr/local/bin so that it is easy to execute and maybe create some symbolic links
Problem: How to write make file for it and/or other files and folders required to do that. I researched a lot when I tried to do it couple of months ago but no luck then. Here are the files from my previous attempt Now I'm trying to pack this for a tutorial on shell script in my LUG and facing similar situation again.
I'll be really glad if someone can be patient enough to guide me through it.
Any kind of resources or details will be much appreciated.
PS: I also intend to port the script to perl soon.
dh_usrlocal: debian/universal/usr/local/bin/chaudhary.sh is not a directory
rmdir: failed to remove ‘debian/universal/usr/local/bin’: Directory not empty
dh_usrlocal: rmdir debian/universal/usr/local/bin returned exit code 1
make: *** [binary] Error 1
Well apparantly you can't move a file into /usr/local/, only directories can be created. But anyway thanks a lot man. I changed it to /usr/bin and it works perfectly fine. Awesome :) – Castellany