mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-06-25 17:53:23 -04:00
standardize apt-get
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
apt-get update
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
if [ -n "$OCRLANG" ]; then
|
||||
echo "OCRLANG variable is set, processing the language packages"
|
||||
apt-get update
|
||||
for i in $(echo "$OCRLANG" | tr "," " "); do
|
||||
if apt-cache show tesseract-ocr-"${i}" > /dev/null 2>&1; then
|
||||
echo "installing tesseract-ocr-${i}"
|
||||
|
||||
Reference in New Issue
Block a user