[sword-devel] InstallMgr does not install modules in several conditions

Troy A. Griffitts scribe at crosswire.org
Mon Oct 28 15:34:26 MST 2013


Installmgr attempts to install modules to your primary SWORD module folder. There is a priority order in which this folder is found. CWD is higher priority, the SWORD_PATH env variable, some other locations, and also location set in /etc/sword.conf. there's a readme somewhere with the lookup order. My guess is that it was using /etc/sword.conf and trying to install to /usr,/share/sword which you don't have permission without sudo.

Hope this helps.

yvand <yvand.sword at gmail.com> wrote:
>Hi all,
>
>I tried to install modules from command line (for first time).
>Finally I found in the wiki some samples and manage to install modules!
>
>But I think installmgr does not behave properly.
>If you run :
>     rm -r ~/.sword
>     echo yes | installmgr -init
>     echo yes | installmgr -r CrossWire
>     echo yes | installmgr -rl CrossWire
>     echo yes | installmgr -ri CrossWire KJV
>It won't install KJV (try installmgr -l or diatheke) ! You will see no 
>errors.
>You need to create ~/.sword/mods.d and set $SWORD_PATH to ~/.sword !
>In my opinion this is odd, installmgr should at least say "give me a 
>directory in which I can work", output an error if mods.d does not 
>exists and not download all the files...
>
>Moreover the first 3 commands does uses ~/.sword automatically and 
>creates subdirectories automatically...
>
>I am running sword svn version.
>Did I miss something? Is this a normal behaviour?
>
>Regards,
>yvand
>
>
>_______________________________________________
>sword-devel mailing list: sword-devel at crosswire.org
>http://www.crosswire.org/mailman/listinfo/sword-devel
>Instructions to unsubscribe/change your settings at above page

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20131028/021da991/attachment.html>


More information about the sword-devel mailing list