File: shared_mods.patch

package info (click to toggle)
minetest 0.4.15%2Brepack2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 30,732 kB
  • ctags: 13,048
  • sloc: cpp: 110,598; xml: 77,537; ansic: 4,149; sh: 853; makefile: 788; python: 659; java: 484
file content (21 lines) | stat: -rw-r--r-- 713 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Debian Games Team <pkg-games-devel@lists.alioth.debian.org>
Date: Sun, 4 Jan 2015 20:49:23 +0100
Subject: shared_mods

Also look under /usr/share/games/minetest for mods, so that minetest-mod-* packages actually work
---
 builtin/mainmenu/modmgr.lua |    1 +
 1 file changed, 1 insertion(+)

Index: b/builtin/mainmenu/modmgr.lua
===================================================================
--- a/builtin/mainmenu/modmgr.lua
+++ b/builtin/mainmenu/modmgr.lua
@@ -409,6 +409,7 @@ function modmgr.preparemodlist(data)
 		modpath ~= "" then
 		get_mods(modpath,global_mods)
 	end
+	get_mods("/usr/share/games/minetest/mods",global_mods)
 
 	for i=1,#global_mods,1 do
 		global_mods[i].typ = "global_mod"