Debian Codegraph @

debian/patches/hard-code-share-dir-path

raw symbols SCIP
1 Description: Hard code share dir path
2 Module::Build share dir mechanisn and File::ShareDir impose a path not
3 compatible with Debian FHS. debian/frozen-bubble-data.install takes care of
4 this, but frozen-bubble config files must be patched to take this into
5 account. This patch hard-codes Debian path in Frozen-bubble config.
6 Forwarded: no. Debian specific
7 Author: [email protected]
8 --- a/lib/Games/FrozenBubble/Config.pm
9 +++ b/lib/Games/FrozenBubble/Config.pm
10 @@ -5,6 +5,6 @@
11 use vars qw(@ISA @EXPORT $FPATH $FLPATH);
12 @ISA = qw(Exporter);
13 @EXPORT = qw($FPATH $FLPATH);
14 -$FPATH = dist_dir('Games-FrozenBubble');
15 -$FLPATH = File::Which::which('fb-server');
16 +$FPATH = '/usr/share/games/frozen-bubble' ;
17 +$FLPATH ='/usr/lib/games/frozen-bubble/fb-server';
18 1;