summaryrefslogtreecommitdiffstats
path: root/urpm/install.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-31 16:45:13 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-31 16:45:13 +0000
commit3cd85172bf689b679e8c1fc626690ba87b136d74 (patch)
treed73d48ff546eb7f1667b7f179ad031c326354753 /urpm/install.pm
parent9dadc64a5547524da5fcbe188b2d443709f627f0 (diff)
downloadurpmi-3cd85172bf689b679e8c1fc626690ba87b136d74.tar
urpmi-3cd85172bf689b679e8c1fc626690ba87b136d74.tar.gz
urpmi-3cd85172bf689b679e8c1fc626690ba87b136d74.tar.bz2
urpmi-3cd85172bf689b679e8c1fc626690ba87b136d74.tar.xz
urpmi-3cd85172bf689b679e8c1fc626690ba87b136d74.zip
document some functions
Diffstat (limited to 'urpm/install.pm')
-rw-r--r--urpm/install.pm19
1 files changed, 19 insertions, 0 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 741f9ee3..8754fe85 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -39,6 +39,11 @@ sub _hash_intersect_list {
\%h;
}
+=item prepare_transaction($set, $blists, $sources)
+
+=cut
+
+
sub prepare_transaction {
my ($set, $blists, $sources) = @_;
@@ -79,6 +84,12 @@ sub transaction_set_to_string {
} @$set;
}
+=item install_logger($urpm, $type, $id, $subtype, $amount, $total)
+
+Standard logger for transactions
+
+=cut
+
# install logger callback
sub install_logger {
my ($urpm, $type, $id, $subtype, $amount, $total) = @_;
@@ -116,6 +127,10 @@ sub install_logger {
}
}
+=item get_README_files($urpm, $trans, $pkg)
+
+=cut
+
sub get_README_files {
my ($urpm, $trans, $pkg) = @_;
@@ -161,6 +176,10 @@ sub options {
);
}
+=item install($urpm, $remove, $install, $upgrade, %options)
+
+=cut
+
#- install packages according to each hash (remove, install or upgrade).
#- options:
#- test, excludepath, nodeps, noorder (unused), delta,