Parent Directory
|
Revision Log
Remove several perl and python includes of private home directories. python-zsi is now officially installed on master.
| 1 | hertzog | 1324 | #!/usr/bin/perl -w |
| 2 | |||
| 3 | # Copyright 2006 Raphael Hertzog <hertzog@debian.org> | ||
| 4 | # Available under the terms of the General Public License version 2 | ||
| 5 | # or (at your option) any later version | ||
| 6 | |||
| 7 | use lib '/org/packages.qa.debian.org/perl'; | ||
| 8 | |||
| 9 | use DB_File; | ||
| 10 | use strict; | ||
| 11 | |||
| 12 | require "common.pl"; | ||
| 13 | |||
| 14 | my $email = shift; | ||
| 15 | my $count = 0; | ||
| 16 | |||
| 17 | foreach my $pkg (which($email)) { | ||
| 18 | if (unsubscribe($email, $pkg)) { | ||
| 19 | print "Unsubscription of $email from $pkg.\n"; | ||
| 20 | $count++; | ||
| 21 | } | ||
| 22 | } | ||
| 23 | if (! $count) { | ||
| 24 | print "No subscriptions cancelled (bad email?).\n"; | ||
| 25 | print "Usage: bin/unsub-all.pl <email>\n"; | ||
| 26 | } | ||
| 27 |
| Name | Value |
|---|---|
| svn:eol-style | native |
| svn:executable | * |
| svn:keywords | Author Date Id Revision |
| ViewVC Help | |
| Powered by ViewVC 1.1.5 |