mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 14:55:07 +01:00
Fixes an issue with the install of languages and read-only variable
This commit is contained in:
parent
5f278d7fbb
commit
50a211f367
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue