Any chance someone could check in if its easy enough to add support for global export VARIABLES i.e $HOME
So we can use the following
Code: Select all
/etc/spring/datadir
$HOME/.spring
Idea is to use symlinks where possible to point to main install & copy over files / directorys that spring needs write access.
Currently Layout
- aidll/globalai/<bots>
base/spring
demos
docs
gamedata
maps/paths
mods
omni <havent checked if omni needs write access to which files yet >
shaders
startscripts
Below = proper directorys & symlink files where it makes sense
- aidll/globalai/ - copied bot configs / directorys over
demos
maps/path
mods
uikeys.txt - copied file
selectkeys.txt - copied file
Reasons for this setup i can think of
1) Allow us to setup configs / logs / maps seperate to each user
2) Instead of plain copying all the files over & basicly installing taspring to each user. This wont eat up as much filespace
3) Only 4 directorys (that i checked quickly would need symlink files). Rest are symlinked directorys, where Spring only needs read access.
4) Users still have ability to remove symlinks & copy over the files if they want to & thus allowing them to alter game files & still not effect other users. No security risks etc..
5) Possible to leave a Version file with svn version number in /usr/share/games/taspring-linux-svn & use it for to check against to inform user a new install to update thier setup <need lookin into on best way to pull it off>
So i try out the above setup, & should be make a script to setup user's .spring directory without to much work.
Any constructive comments plz, or critics plz.
Recap = Anyone care to check if its quick & easy to fix|add support for $HOME variable in /etc/spring/datadir plz
Rest of my post was to explain my train of thought on why i am asking