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.
This commit is contained in:
tilly-Q 2013-10-31 17:10:03 -04:00
parent 79a5fe72cf
commit 3a99517d43

View File

@ -19,6 +19,7 @@
USAGE="Usage: $0 -h | [-p PATH] -e ENVIRONMENT" USAGE="Usage: $0 -h | [-p PATH] -e ENVIRONMENT"
ENVIRONMENT="migration-18" ENVIRONMENT="migration-18"
USER_DEV="user_dev_default"
DEV_ENV_DIRECTORY_PATH="../mg-dev-environments" DEV_ENV_DIRECTORY_PATH="../mg-dev-environments"
while getopts ":hp:e:" opt; while getopts ":hp:e:" opt;
@ -98,6 +99,7 @@ else
esac esac
done done
tar -xzf $DEV_ENV_DIRECTORY_PATH/$ENVIRONMENT.tar.gz tar -xzf $DEV_ENV_DIRECTORY_PATH/$ENVIRONMENT.tar.gz
tar -xzf $DEV_ENV_DIRECTORY_PATH/$USER_DEV.tar.gz
echo "Completed." echo "Completed."
exit 0 exit 0
fi fi