Dear Isaac,

While your information is not inaccurate, it can be quite confusing.

SWORD, by default, configures itself to save global modules under /usr/share/sword/

Your instructions are not what must be done, as you have said "you will have to..." Your configuration is a choice to install modules privately only for a single user account. The default configuration also supports this, as SWORD will first look at the global path (/usr/share/sword/) and then ~/.sword/ and augment modules found there as well.

While installmgr previously did not output proper errors when it could not write to the output path, this is no longer the case for a while now.

Your information might be helpful, but I hope next time you might preface it with a clause something like: "I find that the default configuration to store files globally is more trouble than it is worth. I have change my configuration to always install modules to my single user home directory."

Troy



On 08/29/2014 05:51 PM, Isaac Dunham wrote:
Hello Jon,
I've run into issues with installmgr not working as documented previously;
here's some notes:
1. If you used sudo, be sure to "sudo rm -r ~/.sword" before trying to
set things up.
Otherwise, you may be dealing with read-only config files and install paths.

2. Before installing anything, you will have to create
~/.sword/sword.conf containing this:
===
[INSTALL]
DataPath=/home/<username>/.sword
===
where <username> stands for your login name.

A shortcut in the console:
mkdir ~/.sword && \
printf "[INSTALL]\nDataPath=$HOME/.sword\n" >~/.sword/sword.conf

This can be done after syncing the repositories if you prefer.

You may wish to check if /etc/sword.conf contains anything beyond
a similar directive.

3. installmgr will report success when it didn't succeed due to read-only
DataPath.
To check whether the modules are installed, I suggest:
diatheke -b system -k modulelist


Hope this helps you,
Isaac Dunham

_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to