diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-04-05 15:41:29 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-04-05 15:55:31 +0200 |
commit | 676595f9bf4ecb3de96d02c89440a6fdaf7fc797 (patch) | |
tree | 9da03d5c8c8c9cea1a2b89a6f4b9673a4011e7bc /scripts/cleanup | |
parent | d16f7cf712f0f2f14343ff55a625b12603f542a4 (diff) | |
download | aur-676595f9bf4ecb3de96d02c89440a6fdaf7fc797.tar.gz aur-676595f9bf4ecb3de96d02c89440a6fdaf7fc797.tar.xz |
Prefix package functions with pkg_/pkgbase_
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
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 79994298..1fe63a27 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++; |