mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
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
This commit is contained in:
parent
32c8e101da
commit
0281114221
1 changed files with 2 additions and 1 deletions
|
@ -89,8 +89,9 @@ if [ -z "$VIRTUAL_ENV" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
year1=20`date +%y`
|
year1=20`date +%y`
|
||||||
|
year2=20`date --date='-1 year' +%y`
|
||||||
mkdir -p $AIL_HOME/{PASTES,Blooms,dumps}
|
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 pip
|
||||||
pip install -U -r pip_packages_requirement.txt
|
pip install -U -r pip_packages_requirement.txt
|
||||||
|
|
Loading…
Reference in a new issue