#!/usr/bin/perl

use strict;
use warnings;

my $home_dir=$ENV{'HOME'};
my $profile_dir="$home_dir/opt/profiles";

## no need to do this as the profiles are on this is a symbolic link,
## meaning profile are on the same box or rsynced.
if(-l $profile_dir) {
  exit;
}

system("rsync -va awho\@ftp.authorclaim.org:public_html/amf/p/ ~/opt/profiles");
