This commit is contained in:
2022-06-19 21:05:27 +03:00
parent 26b2b02d30
commit fc24a4a906

View File

@@ -83,7 +83,7 @@ EOF
sudo apt -y update
sudo apt -y full-upgrade --allow-unauthenticated
# bash <curl -sSL https://gist.github.com/hannesbe/6c110e9de6644f07a48eecfdbe6b728d/raw
sh -c <$(curl -sSL https://gist.github.com/hannesbe/6c110e9de6644f07a48eecfdbe6b728d/raw)
sh -c <"$(curl -sSL https://gist.github.com/hannesbe/6c110e9de6644f07a48eecfdbe6b728d/raw)"
sudo tee /etc/apt/sources.list.d/notaesalexp.list<<EOF
deb https://notesalexp.org/tesseract-ocr5/$(lsb_release -cs)/ $(lsb_release -cs) main
EOF
@@ -92,7 +92,7 @@ EOF
sudo apt -y install ocrmypdf python3-pip jbig2enc jbig2dec imagemagick
sudo mkdir /usr/share/tesseract-ocr/5/tessdata
wget https://raw.githubusercontent.com/tesseract-ocr/tessdata/main/deu_frak.traineddata -O /usr/share/tesseract-ocr/5/tessdata/
sh -c <$(curl -sSL https://dot.net/v1/dotnet-install.sh)
sh -c <"$(curl -sSL https://dot.net/v1/dotnet-install.sh)"
fi
if [ "$HOST" = "libre-computer" ];