aboutsummaryrefslogtreecommitdiffstats
path: root/devtools
diff options
context:
space:
mode:
authortilly-Q <nattilypigeonfowl@gmail.com>2013-10-31 17:10:03 -0400
committertilly-Q <nattilypigeonfowl@gmail.com>2013-10-31 17:10:03 -0400
commit3a99517d437850a809d59f485328c3c270c473d1 (patch)
tree0573c001195ec7339b782ca22ca0f4ec7f4adc6c /devtools
parent79a5fe72cf14609a2ec763c7053d164e1bfb1bef (diff)
downloadmediagoblin-3a99517d437850a809d59f485328c3c270c473d1.tar.lz
mediagoblin-3a99517d437850a809d59f485328c3c270c473d1.tar.xz
mediagoblin-3a99517d437850a809d59f485328c3c270c473d1.zip
This commit made it so that the script now extracts two different archive. One
for the chosen database, and one for the media to go in the UserDev directory. This will make the mg-dev-example-environments branch more efficient.
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/make_example_database.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/devtools/make_example_database.sh b/devtools/make_example_database.sh
index 220d94f7..e6337d35 100755
--- a/devtools/make_example_database.sh
+++ b/devtools/make_example_database.sh
@@ -19,6 +19,7 @@
USAGE="Usage: $0 -h | [-p PATH] -e ENVIRONMENT"
ENVIRONMENT="migration-18"
+USER_DEV="user_dev_default"
DEV_ENV_DIRECTORY_PATH="../mg-dev-environments"
while getopts ":hp:e:" opt;
@@ -80,7 +81,7 @@ else
y)
break
;;
- n)
+ n)
exit 1
;;
*)
@@ -98,6 +99,7 @@ else
esac
done
tar -xzf $DEV_ENV_DIRECTORY_PATH/$ENVIRONMENT.tar.gz
+ tar -xzf $DEV_ENV_DIRECTORY_PATH/$USER_DEV.tar.gz
echo "Completed."
exit 0
fi