mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Fixes an issue with the install of languages and read-only variable
This commit is contained in:
parent
91dc1f5c08
commit
3d2f249e97
@ -137,8 +137,7 @@ initialize() {
|
|||||||
install_languages() {
|
install_languages() {
|
||||||
echo "Installing languages..."
|
echo "Installing languages..."
|
||||||
|
|
||||||
local -r langs="$1"
|
read -ra langs <<<"$1"
|
||||||
read -ra langs <<<"$langs"
|
|
||||||
|
|
||||||
# Check that it is not empty
|
# Check that it is not empty
|
||||||
if [ ${#langs[@]} -eq 0 ]; then
|
if [ ${#langs[@]} -eq 0 ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user