forked from extern/Proxmox
Update paperless-ngx-install.sh
shfmt
This commit is contained in:
parent
c12f2773e7
commit
9933ff3711
@ -5,7 +5,7 @@
|
||||
# License: MIT
|
||||
# https://github.com/tteck/Proxmox/raw/main/LICENSE
|
||||
|
||||
source /dev/stdin <<< "$FUNCTIONS_FILE_PATH"
|
||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
|
||||
color
|
||||
verb_ip6
|
||||
catch_errors
|
||||
@ -15,52 +15,52 @@ update_os
|
||||
|
||||
msg_info "Installing Python3"
|
||||
$STD apt-get install -y --no-install-recommends \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-dev \
|
||||
python3-setuptools \
|
||||
python3-wheel
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-dev \
|
||||
python3-setuptools \
|
||||
python3-wheel
|
||||
msg_ok "Installed Python3"
|
||||
|
||||
msg_info "Installing Dependencies (Patience)"
|
||||
$STD apt-get install -y --no-install-recommends \
|
||||
redis \
|
||||
postgresql \
|
||||
build-essential \
|
||||
imagemagick \
|
||||
fonts-liberation \
|
||||
optipng \
|
||||
gnupg \
|
||||
libpq-dev \
|
||||
libmagic-dev \
|
||||
mime-support \
|
||||
libzbar0 \
|
||||
poppler-utils \
|
||||
default-libmysqlclient-dev \
|
||||
automake \
|
||||
libtool \
|
||||
pkg-config \
|
||||
git \
|
||||
curl \
|
||||
libtiff-dev \
|
||||
libpng-dev \
|
||||
libleptonica-dev \
|
||||
sudo \
|
||||
mc
|
||||
redis \
|
||||
postgresql \
|
||||
build-essential \
|
||||
imagemagick \
|
||||
fonts-liberation \
|
||||
optipng \
|
||||
gnupg \
|
||||
libpq-dev \
|
||||
libmagic-dev \
|
||||
mime-support \
|
||||
libzbar0 \
|
||||
poppler-utils \
|
||||
default-libmysqlclient-dev \
|
||||
automake \
|
||||
libtool \
|
||||
pkg-config \
|
||||
git \
|
||||
curl \
|
||||
libtiff-dev \
|
||||
libpng-dev \
|
||||
libleptonica-dev \
|
||||
sudo \
|
||||
mc
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Installing OCR Dependencies (Patience)"
|
||||
$STD apt-get install -y --no-install-recommends \
|
||||
unpaper \
|
||||
ghostscript \
|
||||
icc-profiles-free \
|
||||
qpdf \
|
||||
liblept5 \
|
||||
libxml2 \
|
||||
pngquant \
|
||||
zlib1g \
|
||||
tesseract-ocr \
|
||||
tesseract-ocr-eng
|
||||
unpaper \
|
||||
ghostscript \
|
||||
icc-profiles-free \
|
||||
qpdf \
|
||||
liblept5 \
|
||||
libxml2 \
|
||||
pngquant \
|
||||
zlib1g \
|
||||
tesseract-ocr \
|
||||
tesseract-ocr-eng
|
||||
msg_ok "Installed OCR Dependencies"
|
||||
|
||||
msg_info "Installing JBIG2"
|
||||
@ -76,7 +76,7 @@ msg_ok "Installed JBIG2"
|
||||
msg_info "Installing Paperless-ngx (Patience)"
|
||||
Paperlessngx=$(wget -q https://github.com/paperless-ngx/paperless-ngx/releases/latest -O - | grep "title>Release" | cut -d " " -f 5)
|
||||
cd /opt
|
||||
$STD wget https://github.com/paperless-ngx/paperless-ngx/releases/download/$Paperlessngx/paperless-ngx-$Paperlessngx.tar.xz
|
||||
$STD wget https://github.com/paperless-ngx/paperless-ngx/releases/download/$Paperlessngx/paperless-ngx-$Paperlessngx.tar.xz
|
||||
$STD tar -xf paperless-ngx-$Paperlessngx.tar.xz -C /opt/
|
||||
mv paperless-ngx paperless
|
||||
rm paperless-ngx-$Paperlessngx.tar.xz
|
||||
|
Loading…
Reference in New Issue
Block a user