From b7b586a8c405e6e5967c5febcab67caab581ca0c Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 6 Feb 2014 19:09:15 +0100 Subject: [PATCH] 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 --- INSTALL | 4 ++-- {support/schema => schema}/aur-schema.sql | 0 {support/schema => schema}/gendummydata.py | 0 {support/schema => schema}/reloadtestdb.sh | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename {support/schema => schema}/aur-schema.sql (100%) rename {support/schema => schema}/gendummydata.py (100%) rename {support/schema => schema}/reloadtestdb.sh (89%) diff --git a/INSTALL b/INSTALL index e8bf797d..cbb9f44e 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 similarity index 100% rename from support/schema/aur-schema.sql rename to schema/aur-schema.sql diff --git a/support/schema/gendummydata.py b/schema/gendummydata.py similarity index 100% rename from support/schema/gendummydata.py rename to schema/gendummydata.py diff --git a/support/schema/reloadtestdb.sh b/schema/reloadtestdb.sh similarity index 89% rename from support/schema/reloadtestdb.sh rename to schema/reloadtestdb.sh index f6a8ae2f..ecaaaa86 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