From 676595f9bf4ecb3de96d02c89440a6fdaf7fc797 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Sat, 5 Apr 2014 15:41:29 +0200 Subject: Prefix package functions with pkg_/pkgbase_ Signed-off-by: Lukas Fleischer --- scripts/cleanup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/cleanup b/scripts/cleanup index 7999429..1fe63a2 100755 --- a/scripts/cleanup +++ b/scripts/cleanup @@ -34,7 +34,7 @@ foreach ($buckets as $bucket) { continue; } $fullpath = INCOMING_DIR . $bucket . "/" . $pkgname; - if (!pkgid_from_name($pkgname) && is_dir($fullpath)) { + if (!pkg_from_name($pkgname) && is_dir($fullpath)) { echo 'Removing ' . $fullpath . "\n"; rm_tree($fullpath); $count++; -- cgit v1.2.3-54-g00ecf