Added check if patch has already been done

This commit is contained in:
Zegorax
2020-03-21 23:41:13 +01:00
committed by GitHub
parent f1d7a72d03
commit e320224a3a

View File

@@ -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