summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-04-05 15:41:29 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2014-04-05 15:55:31 +0200
commit676595f9bf4ecb3de96d02c89440a6fdaf7fc797 (patch)
tree9da03d5c8c8c9cea1a2b89a6f4b9673a4011e7bc /scripts
parentd16f7cf712f0f2f14343ff55a625b12603f542a4 (diff)
downloadaurweb-676595f9bf4ecb3de96d02c89440a6fdaf7fc797.tar.xz
Prefix package functions with pkg_/pkgbase_
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/cleanup2
1 files changed, 1 insertions, 1 deletions
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++;