I have a package (Joomla! 3x) that contains 2 plugins and it install/update and uninstall correctly. But now, I need to refine the installation/update process.
Scenario on fresh installation:
If Joomla version = X install plugin A and Plugin B
If Joomla version = Y install plugin A only
Scenario on update:
If Joomla version = X update plugin A and Plugin B
If Joomla version = Y update plugin A and UNINSTALL Plugin B, if installed
Probably need a script file, but I don't know how to force the install/uninstall of a specific plugin inside the script file. Appreciate some guidance.