File: hardcode-code-dir.patch

package info (click to toggle)
lightyears 1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 1,324 kB
  • ctags: 454
  • sloc: python: 3,499; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 711 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Fix code path so it's found when installed system-wide
Author: Siegfried-Angel Gevatter Pujals <rainct@ubuntu.com>

Index: lightyears-1.4/lightyears
===================================================================
--- lightyears-1.4.orig/lightyears	2011-07-22 01:40:32.000000000 +0200
+++ lightyears-1.4/lightyears	2011-07-22 01:40:31.000000000 +0200
@@ -1,8 +1,8 @@
 #!/usr/bin/python
 
 # Set the location of the LightYears files here:
-LIGHTYEARS_DIR = "."
-# LIGHTYEARS_DIR = "/usr/share/games/lightyears" # (for Debian)
+#LIGHTYEARS_DIR = "."
+LIGHTYEARS_DIR = "/usr/share/games/lightyears" # (for Debian)
 
 # Save games and configuration files are stored in the user's
 # home directory.