summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-02-06 19:09:15 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2014-02-06 19:11:25 +0100
commitb7b586a8c405e6e5967c5febcab67caab581ca0c (patch)
treefcdaf036a036b7e554b07734d7ce32918b67c192
parentd0c927c940435bad3da922f727713e1b06b6c936 (diff)
downloadaurweb-b7b586a8c405e6e5967c5febcab67caab581ca0c.tar.xz
Move support/schema/ to schema/
There aren't any other subdirectories in support/. Reduce the nesting depth by moving schema/ to the top-level source directory. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-rw-r--r--INSTALL4
-rw-r--r--schema/aur-schema.sql (renamed from support/schema/aur-schema.sql)0
-rwxr-xr-xschema/gendummydata.py (renamed from support/schema/gendummydata.py)0
-rwxr-xr-xschema/reloadtestdb.sh (renamed from support/schema/reloadtestdb.sh)2
4 files changed, 3 insertions, 3 deletions
diff --git a/INSTALL b/INSTALL
index e8bf797..cbb9f44 100644
--- a/INSTALL
+++ b/INSTALL
@@ -66,12 +66,12 @@ Setup on Arch Linux:
mysql> quit
- Load the schema file
- $ mysql -uaur -p AUR < ~/aur/support/schema/aur-schema.sql
+ $ mysql -uaur -p AUR < ~/aur/schema/aur-schema.sql
(give password 'aur' at the prompt)
- Optionally load some test data for development purposes.
# pacman -S words fortune-mod
- $ cd ~/aur/support/schema/
+ $ cd ~/aur/schema/
$ python gendummydata.py dummy-data.sql
$ bzip2 dummy-data.sql
$ bzcat dummy-data.sql.bz2 | mysql -uaur -p AUR
diff --git a/support/schema/aur-schema.sql b/schema/aur-schema.sql
index c01701c..c01701c 100644
--- a/support/schema/aur-schema.sql
+++ b/schema/aur-schema.sql
diff --git a/support/schema/gendummydata.py b/schema/gendummydata.py
index 361d1f9..361d1f9 100755
--- a/support/schema/gendummydata.py
+++ b/schema/gendummydata.py
diff --git a/support/schema/reloadtestdb.sh b/schema/reloadtestdb.sh
index f6a8ae2..ecaaaa8 100755
--- a/support/schema/reloadtestdb.sh
+++ b/schema/reloadtestdb.sh
@@ -11,7 +11,7 @@ echo "Using database $DB_NAME, user $DB_USER, host $DB_HOST"
mydir=$(pwd)
if [ $(basename $mydir) != "schema" ]; then
- echo "you must be in the aur/support/schema directory to run this script"
+ echo "you must be in the aur/schema directory to run this script"
exit 1
fi