diff options
author | Loui Chang <louipc.ist@gmail.com> | 2009-03-03 11:21:08 -0500 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2009-03-03 11:21:08 -0500 |
commit | bbc05414cf6aa24faa364afb48119f802b50bda2 (patch) | |
tree | ab87fdb233447598684412b5f0ae828ae2f9cc5e /scripts/cleanup | |
parent | 701186ad05955ce47216bdfd4a0c264bc8b0d803 (diff) |
Update cleanup script to remove non-unsupported files.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'scripts/cleanup')
-rwxr-xr-x | scripts/cleanup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/cleanup b/scripts/cleanup index 4fc9ea2..21c913a 100755 --- a/scripts/cleanup +++ b/scripts/cleanup @@ -25,7 +25,7 @@ exec('ls ' . INCOMING_DIR, $files); $count = 0; foreach ($files as $pkgname) { - if (!package_exists($pkgname)) { + if (package_location($pkgname) != 'unsupported') { echo 'Removing ' . INCOMING_DIR . "$pkgname\n"; system('rm -r ' . INCOMING_DIR . $pkgname); $count++; |