summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-12-06 15:04:00 +0000
committerThierry Vignaud <tv@mandriva.org>2006-12-06 15:04:00 +0000
commitac0c047b2980b0b7181da117791a256788b83f5c (patch)
tree55a8d012370dd61d3515483de519762f5643bdc5
parente47ef75357e3f5428309bdca79ee0b0ded53bf8d (diff)
downloadmgaonline-ac0c047b2980b0b7181da117791a256788b83f5c.tar
mgaonline-ac0c047b2980b0b7181da117791a256788b83f5c.tar.gz
mgaonline-ac0c047b2980b0b7181da117791a256788b83f5c.tar.bz2
mgaonline-ac0c047b2980b0b7181da117791a256788b83f5c.tar.xz
mgaonline-ac0c047b2980b0b7181da117791a256788b83f5c.zip
(soap_is_new_update_for_distro) introduce new method to check if new
updates were released
-rw-r--r--mdkonline.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/mdkonline.pm b/mdkonline.pm
index f43c2f50..38754d3b 100644
--- a/mdkonline.pm
+++ b/mdkonline.pm
@@ -312,6 +312,11 @@ sub soap_get_updates_for_host {
$data;
}
+sub soap_is_new_update_for_distro {
+ my $data = $s->isNewUpdateForDistribution(@_)->result;
+ $data;
+}
+
sub mv_files {
my ($source, $dest) = @_;
-e $source and system("mv", $source, $dest);