Does Magento have any built in way to validate that a Magento Connect package is correctly installed? If not, is there any existing code snippet that will extract a file list from an extension and check if the extension is actually installed?
Context: Often, when installing files via the Magento Connect GUI, the web-server won't have the proper permissions to write files out to the system. This should result in a failed installation. However, the way the Magento Connect GUI is coded, Magento Connect will report that the extension installed successfully, and mark in its data store that the extension is installed regardless of whether it could actually install the extension files.
This leads to an extension being listed as installed in Magento Connect, but not actually being on the file system.
Short of coding something up myself, is there any way to validate an extension is installed correctly? Using the GUI, the ./mage
CLI, or even a short shell script that calls some existing Magento method.
Lacking that, has anyone written a stand alone script to do this?
pear
or Mage Connect :\ Surely you're just curing a symptom rather than the problem (bad permissions/server config)