[game-data-packager] 10/10: Unfortunately we still need different config file handling for installed and uninstalled
Simon McVittie
smcv at debian.org
Sun Jan 4 18:34:48 UTC 2015
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch master
in repository game-data-packager.
commit 52bed7be8d0b3130506a4362a15a4411739c10f5
Author: Simon McVittie <smcv at debian.org>
Date: Sun Jan 4 00:12:53 2015 +0000
Unfortunately we still need different config file handling for installed and uninstalled
---
game-data-packager | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/game-data-packager b/game-data-packager
index b0e53c9..d671da5 100755
--- a/game-data-packager
+++ b/game-data-packager
@@ -16,13 +16,14 @@ if [ "$0" = "./game-data-packager" ]; then
LIBDIR=./lib
DATADIR="./out"
ETCDIR="./etc"
+ . "./etc/game-data-packager.conf"
else
SUPPORTED=/usr/share/games/game-data-packager/supported
LIBDIR=/usr/lib/game-data-packager
DATADIR="/usr/share/games/game-data-packager"
ETCDIR=/etc/game-data-packager
+ . "/etc/game-data-packager.conf"
fi
-. "$ETCDIR/game-data-packager.conf"
. $LIBDIR/game-data-packager-shared
LIBDIR="`unravel "$LIBDIR"`"
DATADIR="`unravel "$DATADIR"`"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list