mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-23 08:08:55 +00:00
Use [[]] instead of [] in Bash scripts
This commit is contained in:
1 parent
cf36c8467e
commit
4a71c33537
1 file changed
+2
-2
@@ -75,7 +75,7 @@ install_languages() {
|
||||
pkg="tesseract-ocr-data-$lang"
|
||||
|
||||
# English is installed by default
|
||||
if [ "$lang" == "eng" ]; then
|
||||
if [[ "$lang" == "eng" ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
@@ -95,7 +95,7 @@ if [[ "$1" != "/"* ]]; then
|
||||
initialize
|
||||
|
||||
# Install additional languages if specified
|
||||
if [ ! -z "$PAPERLESS_OCR_LANGUAGES" ]; then
|
||||
if [[ ! -z "$PAPERLESS_OCR_LANGUAGES" ]]; then
|
||||
install_languages "$PAPERLESS_OCR_LANGUAGES"
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user