File: hard-code-share-dir-path

package info (click to toggle)
frozen-bubble 2.212-13
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 31,852 kB
  • sloc: perl: 8,570; ansic: 1,200; sh: 92; makefile: 20
file content (18 lines) | stat: -rw-r--r-- 760 bytes parent folder | download | duplicates (6)
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;