Remove any existing install
This commit is contained in:
parent
8b660c7a13
commit
209471c8ed
|
@ -9918,10 +9918,10 @@ function install_media_server {
|
||||||
apt-get -y install python-setuptools python-virtualenv
|
apt-get -y install python-setuptools python-virtualenv
|
||||||
apt-get -y install uwsgi uwsgi-plugin-python
|
apt-get -y install uwsgi uwsgi-plugin-python
|
||||||
|
|
||||||
# create directory
|
if [ -d $MEDIA_SERVER_BASE_DIRECTORY ]; then
|
||||||
if [ ! -d $MEDIA_SERVER_BASE_DIRECTORY ]; then
|
rm -rf $MEDIA_SERVER_BASE_DIRECTORY
|
||||||
mkdir -p $MEDIA_SERVER_BASE_DIRECTORY
|
|
||||||
fi
|
fi
|
||||||
|
mkdir -p $MEDIA_SERVER_BASE_DIRECTORY
|
||||||
|
|
||||||
install_mariadb
|
install_mariadb
|
||||||
get_mariadb_password
|
get_mariadb_password
|
||||||
|
|
Loading…
Reference in New Issue