From 0a168b13b264514570f42c1d7a9e6e8e64314a8b Mon Sep 17 00:00:00 2001 From: Joyce Babu Date: Tue, 28 Feb 2017 03:04:20 +0530 Subject: [PATCH] Fixes #51 --- lib/Rex/Repositorio/Repository/Apt.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Rex/Repositorio/Repository/Apt.pm b/lib/Rex/Repositorio/Repository/Apt.pm index a8204d4..d0161b1 100644 --- a/lib/Rex/Repositorio/Repository/Apt.pm +++ b/lib/Rex/Repositorio/Repository/Apt.pm @@ -554,7 +554,7 @@ sub _run_ftp_archive { # export pub key as asc file my $pub_file = $self->repo->{name} . ".asc"; - $cmd = "cd $repo_dir ; gpg -a --output $pub_file --export $key"; + $cmd = "cd $repo_dir ; gpg -a --export $key > $pub_file"; system $cmd; if ( $? != 0 ) {