summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'setup.php')
-rwxr-xr-xsetup.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/setup.php b/setup.php
index 0862c09..ad3fd2b 100755
--- a/setup.php
+++ b/setup.php
@@ -27,9 +27,11 @@ foreach (get_declared_classes() as $class) {
}
foreach (get_pkgdirs() as $dir) {
echo 'Creating profile for '.$conf['pkgdir_root'].'/'.$dir.'...';
- $profile=new sql_profile();
+ $profile=new sql_gentoo_profile();
$profile->pkgdir=$dir;
- $profile->write();
+ echo "done\n";
+ echo 'Loading data from '.$conf['pkgdir_root'].'/'.$dir.'/Packages...';
+ $profile->read_Packages();
echo "done\n";
}
do {