|
@@ -9918,10 +9918,10 @@ function install_media_server {
|
9918
|
9918
|
apt-get -y install python-setuptools python-virtualenv
|
9919
|
9919
|
apt-get -y install uwsgi uwsgi-plugin-python
|
9920
|
9920
|
|
9921
|
|
- # create directory
|
9922
|
|
- if [ ! -d $MEDIA_SERVER_BASE_DIRECTORY ]; then
|
9923
|
|
- mkdir -p $MEDIA_SERVER_BASE_DIRECTORY
|
|
9921
|
+ if [ -d $MEDIA_SERVER_BASE_DIRECTORY ]; then
|
|
9922
|
+ rm -rf $MEDIA_SERVER_BASE_DIRECTORY
|
9924
|
9923
|
fi
|
|
9924
|
+ mkdir -p $MEDIA_SERVER_BASE_DIRECTORY
|
9925
|
9925
|
|
9926
|
9926
|
install_mariadb
|
9927
|
9927
|
get_mariadb_password
|