I haven't written any Shell scripts before, but i have to write a simple shell script to do the following;

I will keep all the required files in a single folder and bundle it with this shell script as a tar file; so when the user runs the shell script, it needs to copy the respective files to the respective destinations.

The execution of copy as follows:

  1. copy the plugin.so file to /usrlib/mozilla/plugins/

  2. copy the .so library files to /usr/local/lib/

  3. copy some header files directories(folders) to /usr/local/include/

and finally, need to do ldconfig.

Edit
Report