spring data dir paths

spring data dir paths

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
probzorun
Posts: 7
Joined: 15 May 2009, 22:35

spring data dir paths

Post by probzorun »

Hello. I installed Spring using spring-installer_790_5-19-2009_i386.run . Now spring does not see my data (config,maps,mods,etc.) which are located in $HOME/.spring
How can i setup things so that spring/springlobby will keep "user files" in user dir instead of trying to use the dir in which it was installed?
I tried various configuration options and it just does not work. I tried searching forums but did not find any working solution.
TIA
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: spring data dir paths

Post by lurker »

Adjusted your .springrc?
probzorun
Posts: 7
Joined: 15 May 2009, 22:35

Re: spring data dir paths

Post by probzorun »

lurker wrote:Adjusted your .springrc?
I adjusted it but it didn't seem to work for springlobby. Which entries should i use?
Nemoder
Posts: 73
Joined: 23 Nov 2007, 08:59

Re: spring data dir paths

Post by Nemoder »

A bit dirty but it should work how you want:

Code: Select all

rmdir ~/Spring/maps
rmdir ~/Spring/mods
ln -s ~/.spring/maps ~/Spring/maps
ln -s ~/.spring/mods ~/Spring/mods
onezeno
Posts: 13
Joined: 26 Dec 2008, 17:05

Re: spring data dir paths

Post by onezeno »

Maybe try this....

Code: Select all

sudo pico /etc/spring/datadir
make sure there is a line that says:

Code: Select all

$HOME/.spring
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: spring data dir paths

Post by koshi »

also note that (afaik) there's no variable substitution nor ~ expansion when reading from .springrc
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: spring data dir paths

Post by Tobi »

There is. Unless someone broke/removed it of course :-)

(Only variable substitution though; ~ isn't interpreted specially at all.)
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: spring data dir paths

Post by koshi »

come to think of it, wouldn't have made much sense to have var substitution in the global file and not the user one...
i'll use today being sunday as an excuse for not thinking before speaking :wink:
Post Reply

Return to “Linux”