summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-03 14:14:14 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-03 14:14:14 +0000
commit27a3bb1dba050201cc1eddd6049f576c205b56ea (patch)
tree8f22c089adfa6d0e155646c6bf6903022877b1f4
parentd4b2485da9522c4dd8a100db5bf62ae070971d76 (diff)
downloaddrakx-27a3bb1dba050201cc1eddd6049f576c205b56ea.tar
drakx-27a3bb1dba050201cc1eddd6049f576c205b56ea.tar.gz
drakx-27a3bb1dba050201cc1eddd6049f576c205b56ea.tar.bz2
drakx-27a3bb1dba050201cc1eddd6049f576c205b56ea.tar.xz
drakx-27a3bb1dba050201cc1eddd6049f576c205b56ea.zip
need some dummy functions so that checking for installed packages behave correctly (testing with automatic printer configuration)
-rw-r--r--move/pkgs.pm28
1 files changed, 27 insertions, 1 deletions
diff --git a/move/pkgs.pm b/move/pkgs.pm
index 9fa952261..acc563852 100644
--- a/move/pkgs.pm
+++ b/move/pkgs.pm
@@ -1,5 +1,31 @@
+package pkg;
+
+sub flag_available {
+ log::l("(dummy pkg::flag_available called)");
+ return 1;
+}
+
+
package pkgs; # $Id$ $
+use log;
+
+sub rpmDbOpen {
+ #- install_steps:343
+}
+
+sub packageByName {
+ #- install_steps:344
+ return bless {}, 'pkg';
+}
+
+sub selectPackage {
+ #- install_steps:344
+}
-#- dummy (use pkgs in perl-install/install_any.pm)
+sub packagesToInstall {
+ #- install_steps:346
+ return ();
+}
+
1;