mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
5e49aca247
commit
1fe14899aa
19 changed files with 570 additions and 644 deletions
22
upgrading/1.5.2.txt
Normal file
22
upgrading/1.5.2.txt
Normal file
|
@ -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);
|
Loading…
Add table
Add a link
Reference in a new issue