Use new module
authorJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 21:33:13 +0000 (21:33 +0000)
committerJamie Cameron <jcameron@webmin.com>
Sun, 1 Mar 2009 21:33:13 +0000 (21:33 +0000)
software/software-lib.pl

index ee38242..175b7c0 100644 (file)
@@ -1,9 +1,9 @@
 # software-lib.pl
 # A generalized system for package management on solaris, linux, etc..
 
-do '../web-lib.pl';
+BEGIN { push(@INC, ".."); };
+use WebminCore;
 &init_config();
-do '../ui-lib.pl';
 $heiropen_file = "$module_config_directory/heiropen";
 
 # Use the appropriate function set for whatever package management system