[sword-devel] Legitimate FTP Mirrors & Module Distribution Rights Question
thulester at gmail.com
Wed Jul 25 18:24:30 MST 2012
>> On Wed, Jul 25, 2012 at 12:27 PM, Greg Hellings <greg.hellings at gmail.com> wrote:
> It should. It does not. AFAIK it currently maintains no status
> information on whether ABC came from site X, site Y, a local install
> file, or was manually inserted into the install location. Since
> modules are just a collection of files on a disk bound together by a
> conf file, there is no way of preventing a user from unzipping a
> module she received in email into the folder. If that module is named
> ABC then InstallMgr will assume it is the same module as ABC from
> source X and offer an upgrade if the local version is less than site
> X's version.
I think it does - here's how I think it does. In Linux at least, it
seems to track version numbers in the .conf file. For example, I have
an Inuktitut sword module whose version information is kept locally
The 20120224005250 bit seems to be explained in InstallMgr.conf as
being specific to a particular site.
How I understand this then is that InstallMgr writes information about
modules in the form of .conf files (in my case ink.conf) to the
20120224005250 directory. If there's a difference between the .conf
file in the 20120224005250 and the .conf file in the site associated
with 20120224005250 it means there's an update.
Thus, when you install from a different source InstallMgr could see
that you have a .conf file for that module (INK for example) (in your
InstallMgr directory or subdirectory) delete it and put the new copy
in a source directory from which it was downloaded establishing a link
between the most recent download and the module.
More information about the sword-devel