Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/helper.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/helper.php b/lib/helper.php
index 29902b7..64f167e 100644
--- a/lib/helper.php
+++ b/lib/helper.php
@@ -215,6 +215,8 @@ function find_upstream_packages_in($repo) {
$parse_package_filename_in_repo = function($filename) use ($repo) {
return parse_package_filename($filename, $repo);
};
+ if (!file_exists("/var/lib/pacman/sync/" . $repo . ".db")
+ return NULL;
return
array_map(
$parse_package_filename_in_repo,