I'm able to create a deb package. Now, I want to write a Debian rule to copy the file to its target.
For example, a script should be copied to /etc/init.d
be executed after installation.
Note: I followed this blog to build debian package https://abz89.wordpress.com/2008/03/24/building-debian-deb-package-from-tarball-source-targz/