From: x2000habouzit Date: Thu, 14 Oct 2004 22:02:30 +0000 (+0000) Subject: convert to new system X-Git-Tag: xorg/old~1283 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=2b03dc25e4a74a94f245c67582e145a38de1351e;p=platal.git convert to new system --- diff --git a/scripts/migration/0.0.0_to_0.9.0/new_newsletter.sh b/scripts/migration/0.0.0_to_0.9.0/new_newsletter.sh new file mode 100755 index 0000000..ad2f24e --- /dev/null +++ b/scripts/migration/0.0.0_to_0.9.0/new_newsletter.sh @@ -0,0 +1,6 @@ +#! /bin/sh +mysql x4dat < newsleter.sql + +list_members polytechnique.org-newsletter | \ + sed -e 's!^\(.*\)@polytechnique.org!INSERT INTO newsletter_ins SELECT id FROM aliases WHERE alias="\1";!' | \ + mysql x4dat