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