diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-29 23:09:35 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-06-29 23:10:45 +0200 |
commit | 1fe14899aa808f50144162d6b14fc583873d08fc (patch) | |
tree | 9febba2c1876be4cd8f76c08e5a65b8697ddeee6 /upgrading/1.5.2.txt | |
parent | 5e49aca247a27dc0334e999dfb306e27ddbe99b9 (diff) | |
download | aur-1fe14899aa808f50144162d6b14fc583873d08fc.tar.gz aur-1fe14899aa808f50144162d6b14fc583873d08fc.tar.xz |
Split UPGRADING
Split the upgrade instructions into several files, one file per version
in order to keep them small, readable and to avoid merge conflicts.
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'upgrading/1.5.2.txt')
-rw-r--r-- | upgrading/1.5.2.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/upgrading/1.5.2.txt b/upgrading/1.5.2.txt new file mode 100644 index 00000000..424daac6 --- /dev/null +++ b/upgrading/1.5.2.txt @@ -0,0 +1,22 @@ +1. Ensure Pear and File/Find.php are in the path. See web/README.txt. + +2. Update your running copy of support/scripts/newpackage-notify. + +3. Run this in web/lib: +<?php + +# Run the script from within lib +include('config.inc'); +include('aur.inc'); + +$query = "UPDATE Packages SET " . + "FSPath = CONCAT('" . INCOMING_DIR . "', Name, '/', Name, +'.tar.gz'), " . + "URLPath = CONCAT('" . URL_DIR . "', Name, '/', Name, '.tar.gz') " . + "WHERE DummyPKG = 0 AND LocationID = 2;"; + +$dbh = db_connect(); +db_query($query, $dbh); + +$query = "ALTER TABLE Packages DROP COLUMN AURMaintainerUID;"; +db_query($query, $dbh); |