aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/tools/evolution-addressbook-clean.in
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-12-23 13:07:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-12-23 13:14:29 +0800
commit7de1862889a44b75278abb00da444a27ba99e65d (patch)
treee263ca1b7d6186590f1b918a19ad0f818ea49e4f /addressbook/tools/evolution-addressbook-clean.in
parent9a38889305241f6831feda75d175c34b1c743646 (diff)
downloadgsoc2013-evolution-7de1862889a44b75278abb00da444a27ba99e65d.tar.gz
gsoc2013-evolution-7de1862889a44b75278abb00da444a27ba99e65d.tar.zst
gsoc2013-evolution-7de1862889a44b75278abb00da444a27ba99e65d.zip
Bug 666675: Remove evolution-addressbook-clean
References evolution-addressbook-import, which was removed in 2007. Clearly no point in keeping this script around.
Diffstat (limited to 'addressbook/tools/evolution-addressbook-clean.in')
-rw-r--r--addressbook/tools/evolution-addressbook-clean.in24
1 files changed, 0 insertions, 24 deletions
diff --git a/addressbook/tools/evolution-addressbook-clean.in b/addressbook/tools/evolution-addressbook-clean.in
deleted file mode 100644
index 49a5c3b665..0000000000
--- a/addressbook/tools/evolution-addressbook-clean.in
+++ /dev/null
@@ -1,24 +0,0 @@
-#!@PERL@ -w
-
-sub do_system
-{
- my ($command) = @_;
- system ($command);
- if ($? != 0) {
- die "Command failed: $command";
- }
-}
-
-$filename = `@EVOLUTION_TOOLSDIR@/evolution-addressbook-export`;
-if ($? != 0) {
- $! = $?;
- die $!;
-}
-
-$HOME = $ENV{"HOME"};
-
-system ("@EVOLUTION_TOOLSDIR@/killev");
-do_system ("/bin/mv ${HOME}/.evolution/addressbook/local/system/addressbook.db ${HOME}/.evolution/addressbook/local/system/addressbook-backup.db");
-do_system ("@EVOLUTION_TOOLSDIR@/evolution-addressbook-import --input-file $filename");
-do_system ("/bin/rm $filename");
-