Bump gitea version to 3.3.4

Rename step update to upgrade

Using correct package for exiftool
This commit is contained in:
2019-12-09 14:42:06 +01:00
parent 3cad9c40c6
commit bf51d0ee11

View File

@@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
toolName="Mayan EDMS" toolName="Mayan EDMS"
toolVersion="3.3.3" toolVersion="3.3.4"
toolRoot="/opt/mayan-edms" toolRoot="/opt/mayan-edms"
toolMediaFolder="/opt/mayan-edms/media" toolMediaFolder="/opt/mayan-edms/media"
@@ -20,7 +20,7 @@ step_1() {
step_2_info() { echo "Get $toolName binary dependencies"; } step_2_info() { echo "Get $toolName binary dependencies"; }
step_2() { step_2() {
exe apt install exiftool g++ gcc ghostscript gnupg1 graphviz libfuse2 \ exe apt install libimage-exiftool-perl g++ gcc ghostscript gnupg1 graphviz libfuse2 \
libjpeg-dev libmagic1 libpq-dev libpng-dev libtiff-dev \ libjpeg-dev libmagic1 libpq-dev libpng-dev libtiff-dev \
poppler-utils postgresql python3-dev python3-venv python3-virtualenv python3-pip poppler-utils postgresql python3-dev python3-venv python3-virtualenv python3-pip
redis-server sane-utils supervisor tesseract-ocr tesseract-ocr-deu zlib1g-dev -y redis-server sane-utils supervisor tesseract-ocr tesseract-ocr-deu zlib1g-dev -y
@@ -97,7 +97,7 @@ save \"\"
databases 2" databases 2"
step_10_info() { echo "Update $toolName"; } step_10_info() { echo "Update $toolName"; }
step_10_alias() { ALIAS="update"; } step_10_alias() { ALIAS="upgrade"; }
step_10() { step_10() {
exe curl -o "$uninstallRemovalsLoc" https://gitlab.com/mayan-edms/mayan-edms/raw/master/removals.txt exe curl -o "$uninstallRemovalsLoc" https://gitlab.com/mayan-edms/mayan-edms/raw/master/removals.txt
exe sudo -u mayan ${toolRoot}/bin/pip uninstall -r "$uninstallRemovalsLoc" exe sudo -u mayan ${toolRoot}/bin/pip uninstall -r "$uninstallRemovalsLoc"