diff options
author | 2010-01-02 20:10:35 +0000 | |
---|---|---|
committer | 2010-01-02 20:10:35 +0000 | |
commit | 4eba52eafdfa56ce17faed2d6212642917d659e7 (patch) | |
tree | 387bc4dec8245b26e9e7aecd922cd82ec2f8c443 | |
parent | cleanup (diff) | |
download | znurt-org-backend-4eba52eafdfa56ce17faed2d6212642917d659e7.tar.gz znurt-org-backend-4eba52eafdfa56ce17faed2d6212642917d659e7.tar.bz2 znurt-org-backend-4eba52eafdfa56ce17faed2d6212642917d659e7.zip |
Only update lvl on new ebuilds
git-svn-id: file:///var/svn/portage@49 3218660a-b0cf-4799-a991-8ddcc5b9e0f3
-rw-r--r-- | import.ebuild_ev.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/import.ebuild_ev.php b/import.ebuild_ev.php index d2e67e9..fe9d786 100644 --- a/import.ebuild_ev.php +++ b/import.ebuild_ev.php @@ -1,8 +1,7 @@ <? - $verbose = true; - $qa = true; - +// $verbose = true; +// $qa = true; require_once 'header.php'; require_once 'import.functions.php'; @@ -15,7 +14,7 @@ WHEN e.beta IS NOT NULL THEN 2 WHEN e.alpha IS NOT NULL THEN 1 ELSE 5 - END;"; + END WHERE e.status = 1 OR e.lvl = 0;"; $db->query($sql); $sql = "SELECT * FROM missing_ev;"; @@ -26,7 +25,6 @@ foreach($arr as $row) { extract($row); $arr_packages[$package][$ebuild] = $version; - } foreach($arr_packages as $package => $arr) { |