From: Michael Andreen Date: Fri, 6 Jun 2008 20:13:23 +0000 (+0200) Subject: minor updates X-Git-Url: https://ruin.nu/git/?p=ndwebbie.git;a=commitdiff_plain;h=35f9a1e8b0edc2cc47dd46b9afc77e48cc3be86c minor updates --- diff --git a/database/clean-webbie.sql b/database/clean-webbie.sql index 14a26b2..87441ad 100644 --- a/database/clean-webbie.sql +++ b/database/clean-webbie.sql @@ -14,6 +14,7 @@ DELETE FROM scans; DELETE FROM raids; DELETE FROM calls; DELETE FROM fleets; +DELETE FROM covop_attacks; DELETE FROM planets ; DELETE FROM alliances WHERE id > 1; SELECT * FROM alliances; diff --git a/scripts/fetchdumps.pl b/scripts/fetchdumps.pl index 44a8d41..a01b58e 100755 --- a/scripts/fetchdumps.pl +++ b/scripts/fetchdumps.pl @@ -50,7 +50,7 @@ for my $type ("planet","alliance","galaxy"){ $select->finish; } -if ($updated > 36){ +if ($updated){ `/var/www/ndawn/scripts/parsealliances.pl $updated`; `/var/www/ndawn/scripts/parseplanets.pl $updated`; `/var/www/ndawn/scripts/parsegalaxies.pl $updated`;