aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-28 07:37:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-28 07:37:19 +0000
commita98103f14cd3d5de5bf7f70418fa07d22c2cba6b (patch)
tree1f3daf04773817cf51fcf48390f0c1dbe62418f2 /lib/Youri
parenta5aa197c0d1c317c5619c78b4a42130d0282eb81 (diff)
downloadmga-youri-submit-a98103f14cd3d5de5bf7f70418fa07d22c2cba6b.tar
mga-youri-submit-a98103f14cd3d5de5bf7f70418fa07d22c2cba6b.tar.gz
mga-youri-submit-a98103f14cd3d5de5bf7f70418fa07d22c2cba6b.tar.bz2
mga-youri-submit-a98103f14cd3d5de5bf7f70418fa07d22c2cba6b.tar.xz
mga-youri-submit-a98103f14cd3d5de5bf7f70418fa07d22c2cba6b.zip
simplify ($arch is not used by ->set_install_dir_changed)
Diffstat (limited to 'lib/Youri')
-rw-r--r--lib/Youri/Submit/Action/Install.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Action/Install.pm b/lib/Youri/Submit/Action/Install.pm
index d74fec9..c6ce573 100644
--- a/lib/Youri/Submit/Action/Install.pm
+++ b/lib/Youri/Submit/Action/Install.pm
@@ -50,7 +50,7 @@ sub run {
system("install -m $self->{_perms} $file $dest/$rpm");
my $arch = $package->get_arch();
$repository->set_arch_changed($target, $arch);
- $repository->set_install_dir_changed($dest, $arch);
+ $repository->set_install_dir_changed($dest);
}
$package->{_file} = "$dest/$rpm";
print "deleting file $file\n" if $self->{_verbose};