diff options
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 d3ba3f9..7999429 100755 --- a/scripts/cleanup +++ b/scripts/cleanup @@ -34,7 +34,7 @@ foreach ($buckets as $bucket) { continue; } $fullpath = INCOMING_DIR . $bucket . "/" . $pkgname; - if (!package_exists($pkgname) && is_dir($fullpath)) { + if (!pkgid_from_name($pkgname) && is_dir($fullpath)) { echo 'Removing ' . $fullpath . "\n"; rm_tree($fullpath); $count++; |