Added check if patch has already been done
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
FILE=OO_PubKey
|
||||||
|
if test -f "$FILE"; then
|
||||||
apt-get update && apt-get install -y python3.6-dev
|
apt-get update && apt-get install -y python3.6-dev
|
||||||
wget https://bootstrap.pypa.io/get-pip.py
|
wget https://bootstrap.pypa.io/get-pip.py
|
||||||
python3.6 get-pip.py
|
python3.6 get-pip.py
|
||||||
@@ -87,4 +89,6 @@ python3.6 index.py
|
|||||||
echo Patching docservice and convert...
|
echo Patching docservice and convert...
|
||||||
|
|
||||||
echo Done! Running Document Server...
|
echo Done! Running Document Server...
|
||||||
|
fi
|
||||||
|
|
||||||
/app/ds/run-document-server.sh
|
/app/ds/run-document-server.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user