summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEudyptula <eitan@mosenkis.net>2009-07-10 14:09:00 -0400
committerEudyptula <eitan@mosenkis.net>2009-07-10 14:09:00 -0400
commit06ab593e5dd40df96f79179a68ba8f3d7c70033a (patch)
tree75f4d351328893b2cf7f6f9e74951409212ac576 /update_gentoo_profiles.php
parentFinished porting package selection to new wizard format - everything works again (diff)
downloadingenue-06ab593e5dd40df96f79179a68ba8f3d7c70033a.tar.gz
ingenue-06ab593e5dd40df96f79179a68ba8f3d7c70033a.tar.bz2
ingenue-06ab593e5dd40df96f79179a68ba8f3d7c70033a.zip
Made bundling finished images separate from modules in backend; added metadata for frontend modules; added default config options and simplified config file; added verbose output to update_gentoo_profiles.php; etc.
Diffstat (limited to 'update_gentoo_profiles.php')
-rwxr-xr-xupdate_gentoo_profiles.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/update_gentoo_profiles.php b/update_gentoo_profiles.php
index 545b08f..c2e9f20 100755
--- a/update_gentoo_profiles.php
+++ b/update_gentoo_profiles.php
@@ -7,8 +7,8 @@ $pdo=&$S['pdo'];
$r=$pdo->query('SELECT * FROM `gentoo_profiles`'.(isset($argv[1])?' WHERE `name` LIKE "%'.$argv[1].'%" OR `pkgdir` LIKE "%'.$argv[1].'%"':''));
while ($p=$r->fetch(PDO::FETCH_ASSOC)) {
$p=new sql_gentoo_profile($p);
- echo 'Updating from '.$conf['pkgdir_root'].'/'.$p->pkgdir.'/Packages...';
- list($new, $updated)=$p->read_Packages(true);
- echo "done\nPackages: $new new, $updated updated.\n";
+ echo "Updating from {$conf['pkgdir_root']}/$p->pkgdir/Packages...\n";
+ list($new, $updated, $deleted, $total)=$p->read_Packages(true, true);
+ echo "Packages: $new new, $updated updated, $deleted deleted, $total total.\n";
}
?>