diff options
author | Igor Pashev <pashev.igor@gmail.com> | 2013-07-14 21:53:09 +0400 |
---|---|---|
committer | Igor Pashev <pashev.igor@gmail.com> | 2013-07-14 21:53:09 +0400 |
commit | 3f33a0a9f4739bc8820f41c335f5ce55d7ca8ff7 (patch) | |
tree | 7d145f88c044f68766d7f787bc357c059c61c81f | |
parent | 58a5b1e417c317d8fa9c232546c0a4faab0e4d48 (diff) | |
download | dh-smf-3f33a0a9f4739bc8820f41c335f5ce55d7ca8ff7.tar.gz |
Use verbose copy only on demand
-rwxr-xr-x | dh_smf | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -147,7 +147,8 @@ foreach my $package ( @{ $dh{DOPACKAGES} } ) { if ( !-d "$svcdir" ) { doit( "install", "-d", "$svcdir" ); } - complex_doit("cp -a -v -f $smf/* $svcdir/"); + my $cp_v = $dh{'VERSION'} ? '-v' : ''; + complex_doit("cp -a $cp_v -f $smf/* $svcdir/"); } # Get a list of all manifests in package |