From b93f3fcb8331b8de4348ef5618af1e506d742dae Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Mon, 2 Jan 2012 19:57:00 +0100 Subject: [PATCH] force netcat install --- bak-git-server.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bak-git-server.pl b/bak-git-server.pl index dd717a5..2872e33 100755 --- a/bak-git-server.pl +++ b/bak-git-server.pl @@ -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'; -- 2.20.1