diff options
-rw-r--r-- | web/html/pkgsubmit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php index 38c2dde8..24325106 100644 --- a/web/html/pkgsubmit.php +++ b/web/html/pkgsubmit.php @@ -130,8 +130,6 @@ if ($uid): } } - include('pkgbuild-parser.inc.php'); - /* Parse .AURINFO and extract meta data. */ $pkgbase_info = array(); $pkginfo = array(); @@ -177,6 +175,8 @@ if ($uid): } } else { /* Use data from the PKGBUILD parser (deprecated!) */ + include('pkgbuild-parser.inc.php'); + $pkgbase_info = $new_pkgbuild; if (!isset($pkgbase_info['pkgbase'])) { $pkgbase_info['pkgbase'] = $pkgbase_info['pkgname']; |