Re: File_CSV as standalone package?
| From: | Stefan Neufeind | Date: | Sun, 31 Aug 2003 01:49:46 +0000 |
| Subject: | Re: File_CSV as standalone package? | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20908@lists.php.net to get a copy of this message | ||
On 30 Aug 2003 at 12:17, Greg Beaver wrote:
> Stefan Neufeind wrote:
> > By the way: What if you install File_CSV and afterwards upgrade File
> > to a version that doesn't contain CSV anymore? I guess then
> > upgrading File might remove File/CVS.php - correct? I guess this
> > could be solved by giving a dependency from File_CSV that demands
> > File v1.0.4 (or what the next release will be called) so that prior
> > to installing File_CSV you have to upgrade File. Greg, might this
> > work as expected?
>
> This is a good point - the uninstaller doesn't check for conflicts of
> filenames during uninstall currently, so if you install File_CSV
> first, and uninstall File, it would delete File/CVS.php. The required
> dependency in File_CSV is the solution, as it should not be installed
> with older versions of File, since the older versions would have
> File/CSV.php anyways.
But would it only check for satisfaction of the dependency? Or would
it really updage the File-package first before (!) installing
File_CSV? Then the problem is easily solved ...
Stefan