I know that, whatever data is placed in package/component dir/data, will be copied to the install directory. What I mean is if I have package/component dir/data/myapp, package/component dir/data/readme, package/component dir/data/license.txt and if I choose my target installation dir to be “/opt/myfirstapp”, then inisde /opt/myfirstapp, I will have 3 files copied, myapp, readme, license.txt.
But if I want some files or folders to be copied to a different location other than install directory, how do I achieve it? Say for example I want to copy some binary files to “/usr/bin” and copy some libraries to “/usr/lib” etc, how do I do it?
↧