From a09597c65cda94b4eb606064e686d82fbc1cf069 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 21 Jun 2007 08:16:08 +0000 Subject: add methods needed by action Genhdlist2 --- lib/Youri/Repository/Mandriva_upload.pm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/Youri/Repository/Mandriva_upload.pm b/lib/Youri/Repository/Mandriva_upload.pm index ba1622b..16ba33f 100644 --- a/lib/Youri/Repository/Mandriva_upload.pm +++ b/lib/Youri/Repository/Mandriva_upload.pm @@ -96,6 +96,16 @@ sub get_arch_changed { return [ keys %{$self->{_arch_changed}} ] } +sub set_install_dir_changed { + my ($self, $install_dir) = @_; + $self->{_install_dir_changed}{$install_dir} = 1; +} + +sub get_install_dir_changed { + my ($self) = @_; + return [ keys %{$self->{_install_dir_changed}} ]; +} + sub _get_media_config { my ($self, $target) = @_; my %media; -- cgit v1.2.1