aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-06-21 08:16:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-06-21 08:16:08 +0000
commita09597c65cda94b4eb606064e686d82fbc1cf069 (patch)
treeb1f8751a451502b04a2518eed80b8775b2cbf8a0
parentcf8fccc5c9e5d52808dba81e44a00da6de1a9720 (diff)
downloadmga-youri-core-a09597c65cda94b4eb606064e686d82fbc1cf069.tar
mga-youri-core-a09597c65cda94b4eb606064e686d82fbc1cf069.tar.gz
mga-youri-core-a09597c65cda94b4eb606064e686d82fbc1cf069.tar.bz2
mga-youri-core-a09597c65cda94b4eb606064e686d82fbc1cf069.tar.xz
mga-youri-core-a09597c65cda94b4eb606064e686d82fbc1cf069.zip
add methods needed by action Genhdlist2
-rw-r--r--lib/Youri/Repository/Mandriva_upload.pm10
1 files changed, 10 insertions, 0 deletions
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;