Re: removeOwningPackage
"Curtis L. Knight" <[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
On 8/13/07, Eugene Zolenko <EugeneZolenko-XYgkjQFSZqy1Z/[email protected]> wrote: > I noticed that package installed via its skeleton by "require" can't be > uninstalled before owning package. I wonder if it is possible to call > uninstallPackage "$dependency" at the very end of [uninstall] section of > owning package? > > If it fails then, I would assume something else depends on it. The only > problem I see is if it would see package currently being uninstalled to > be still installed. The supports file describes the dependency you are talking about. You could check if that file is zero size. With a root install, the file would be $autopackage_global_db_location/$ROOTNAME/supports. But as I am mentioning this, I only see zero size files in my package directory so I hope that the file is still being written to for dependencies (within apkg-db). > When does uninstallPackage start to think a package is "uninstalled" > already? Everything is keyed off of the English environment file - $autopackage_global_db_location/$SHORTNAME/environment.en Curtis --------------------------------------------------------------------- To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]