force netcat install
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 2 Jan 2012 18:57:00 +0000 (19:57 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 2 Jan 2012 18:57:00 +0000 (19:57 +0100)
bak-git-server.pl

index dd717a5..2872e33 100755 (executable)
@@ -115,7 +115,7 @@ if ( $upgrade || $install ) {
                system 'ssh-copy-id', "root\@$hostname" if ! -d $hostname;
                my $path = shell_client( $hostname );
                system "scp $path root\@$hostname:/usr/local/bin/";
-               system "ssh root\@$hostname apt-get install -y rsync";
+               system "ssh root\@$hostname apt-get install -y netcat rsync";
        }
 } else {
        my $ssh = $ENV{SSH} || 'ssh';