mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Prefix package functions with pkg_/pkgbase_
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
d16f7cf712
commit
676595f9bf
12 changed files with 91 additions and 91 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue