diff options
Diffstat (limited to 'setup.php')
-rwxr-xr-x | setup.php | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 { |