Remove tdh maps correctly
This commit is contained in:
parent
41c58f8e6a
commit
df319cca3e
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
core = ["wesnoth","wesnoth-lib","wesnoth-httt"]
|
||||
other = ["wesnoth-editor","wesnoth-ei","wesnoth-sotbe","wesnoth-trow"]
|
||||
campaigns_to_remove = ["tdh"]
|
||||
|
||||
def complete?(lang, pack)
|
||||
complete = true
|
||||
|
@ -35,7 +36,7 @@ Dir.glob("wesnoth*") { |file|
|
|||
print "Changing to ", dir, "\n"
|
||||
Dir.chdir(dir)
|
||||
print "Erasing The Dark Hordes campaign\n"
|
||||
system("rm -rf data/campaigns/The_Dark_Hordes.cfg data/scenarios/The_Dark_Hordes maps/The_Dark_Hordes/ images/portraits/The_Dark_Hordes po/wesnoth-tdh")
|
||||
system("rm -rf data/campaigns/The_Dark_Hordes.cfg data/scenarios/The_Dark_Hordes data/maps/The_Dark_Hordes/ images/portraits/The_Dark_Hordes po/wesnoth-tdh")
|
||||
system("sed -i -e 's/po\\/wesnoth-tdh\\/Makefile.in //g' configure")
|
||||
system("sed -i -e '/wesnoth-tdh/d' configure")
|
||||
system("sed -i -e '/wesnoth-tdh/d' configure.ac")
|
||||
|
|
Loading…
Add table
Reference in a new issue