Remove tdh maps correctly

This commit is contained in:
Isaac Clerencia Perez 2005-09-19 15:10:39 +00:00
parent 41c58f8e6a
commit df319cca3e

View file

@ -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")