fix: Create a directory for the last year (named as such) in LEVEL_DB_DATA/. This is done to prevent Duplicates.py to fail connecting to the database, as directories are created when starting install_dependencies.sh

pull/178/head
Sami Mokaddem 2018-02-16 13:34:13 +01:00
parent 32c8e101da
commit 0281114221
1 changed files with 2 additions and 1 deletions

View File

@ -89,8 +89,9 @@ if [ -z "$VIRTUAL_ENV" ]; then
fi
year1=20`date +%y`
year2=20`date --date='-1 year' +%y`
mkdir -p $AIL_HOME/{PASTES,Blooms,dumps}
mkdir -p $AIL_HOME/LEVEL_DB_DATA/$year1
mkdir -p $AIL_HOME/LEVEL_DB_DATA/{$year1,$year2}
pip install -U pip
pip install -U -r pip_packages_requirement.txt