index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/helper.php | 2 |
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, |