diff options
| author | Pascal Terjan <pterjan@mageia.org> | 2024-12-20 19:33:11 +0000 |
|---|---|---|
| committer | Pascal Terjan <pterjan@mageia.org> | 2024-12-20 19:33:11 +0000 |
| commit | 72463db81d937c8aab0cccddbd721b7d40b22b9b (patch) | |
| tree | d834bc113f55bf42684f3f6f547da5fe35dc577d | |
| parent | de9d7e923650405fc8de7416f2c7a974c96ad62f (diff) | |
| download | iurt-72463db81d937c8aab0cccddbd721b7d40b22b9b.tar iurt-72463db81d937c8aab0cccddbd721b7d40b22b9b.tar.gz iurt-72463db81d937c8aab0cccddbd721b7d40b22b9b.tar.bz2 iurt-72463db81d937c8aab0cccddbd721b7d40b22b9b.tar.xz iurt-72463db81d937c8aab0cccddbd721b7d40b22b9b.zip | |
Use File::Copy instead of deprecated File::NCopy
| -rwxr-xr-x | iurt | 2 | ||||
| -rwxr-xr-x | iurt_root_command | 2 | ||||
| -rw-r--r-- | lib/Iurt/Urpmi.pm | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -44,7 +44,7 @@ use Iurt::Process qw(perform_command kill_for_good sudo); use Iurt::Mail qw(sendmail); use Iurt::RPM qw(check_arch check_noarch); use Iurt::Util qw(plog_init plog); -use File::NCopy qw(copy); +use File::Copy qw(copy); use File::Path qw(mkpath); use File::Spec::Functions qw(rel2abs); use File::Basename qw(fileparse); diff --git a/iurt_root_command b/iurt_root_command index e64b1f7..fa9a13d 100755 --- a/iurt_root_command +++ b/iurt_root_command @@ -24,7 +24,7 @@ use strict; my $program_name = 'iurt_root_command'; use Mkcd::Commandline qw(parseCommandLine usage); use MDK::Common qw(any if_); -use File::NCopy qw(copy); +use File::Copy qw(copy); use Iurt::Util qw(plog_init plog); use Cwd 'realpath'; use File::Path qw(make_path); diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index 53d0756..2621478 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -3,7 +3,7 @@ package Iurt::Urpmi; use strict; use RPM4::Header; use File::Basename; -use File::NCopy qw(copy); +use File::Copy qw(copy); use MDV::Distribconf::Build; use MDK::Common qw(cat_); use Iurt::Chroot qw(add_local_user create_temp_chroot); |
