Is there a way to delete a directory in the /bin directory of my app during the upgrade installation of a newer version of my app?
I moved the splunklib directory from the /bin directory to the /lib directory in my app to be compliant with the appinspect report. If I install my new app and click the upgrade checkbox the splunklib directory under the /bin does not get removed so now I have the old version of splunklib in /bin and the new version of splunklib in /lib directory.
Currently the way I can resolve the issue is to go to the cli and remove the app and install the new app version clean. Below is the command I used to remove the app: