Merge pull request #178 from mokaddem/fix-176

fix: Create a directory for the last year in ``LEVEL_DB_DATA/``
This commit is contained in:
Sami Mokaddem 2018-02-16 13:39:05 +01:00 committed by GitHub
commit 4dbf0b743e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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