Require TUs to explicitly request to overwrite a pkgbase
[aur.git] / upgrading / 1.5.2.txt
blob424daac66b13b65976b17451f01fbc144507e37a
1 1. Ensure Pear and File/Find.php are in the path. See web/README.txt.
3 2. Update your running copy of support/scripts/newpackage-notify.
5 3. Run this in web/lib:
6 <?php
8 # Run the script from within lib
9 include('config.inc');
10 include('aur.inc');
12 $query = "UPDATE Packages SET " .
13          "FSPath = CONCAT('" . INCOMING_DIR . "', Name, '/', Name,
14 '.tar.gz'), " .
15          "URLPath = CONCAT('" . URL_DIR . "', Name, '/', Name, '.tar.gz') " .
16          "WHERE DummyPKG = 0 AND LocationID = 2;";
18 $dbh = db_connect();
19 db_query($query, $dbh);
21 $query = "ALTER TABLE Packages DROP COLUMN AURMaintainerUID;";
22 db_query($query, $dbh);