armbian: fix locales for ncp-config

This commit is contained in:
nachoparker 2018-09-23 20:30:47 -06:00
parent a7f0fd2d2f
commit 3de5fe0cfe
3 changed files with 12 additions and 2 deletions

View File

@ -1,9 +1,13 @@
[v0.60.3](https://github.com/nextcloud/nextcloudpi/commit/b4d7776) (2018-09-23) nc-update-nextcloud: workaround news integrity bug
[v0.60.5](https://github.com/nextcloud/nextcloudpi/commit/601cf1e) (2018-09-23) armbian: fix locales for ncp-config
[v0.60.4](https://github.com/nextcloud/nextcloudpi/commit/a7f0fd2) (2018-09-23) build: use a separate file for NCP database config
[v0.60.3](https://github.com/nextcloud/nextcloudpi/commit/1bfcebc) (2018-09-23) nc-update-nextcloud: workaround news integrity bug
[v0.60.2 ](https://github.com/nextcloud/nextcloudpi/commit/5914624) (2018-09-21) DDNS_spdyn.sh : Send new IP only when changed.
[v0.60.1](https://github.com/nextcloud/nextcloudpi/commit/f80ee23) (2018-07-31) nc-restore: restore to volume in docker container
[v0.60.1 ](https://github.com/nextcloud/nextcloudpi/commit/f80ee23) (2018-07-31) nc-restore: restore to volume in docker container
[v0.60.0 ](https://github.com/nextcloud/nextcloudpi/commit/3a1b974) (2018-09-22) add nc-previews

3
ncp.sh
View File

@ -250,6 +250,9 @@ EOF
## other tweaks
sed -i "s|^UMASK.*|UMASK 027|" /etc/login.defs
## locales for ncp-config
[[ "$LANG" == "" ]] && localectl set-locale LANG=en_US.utf8
fi
}

View File

@ -183,6 +183,9 @@ EOF
service mysql restart
}
# fix locale for Armbian images, for ncp-config
[[ "$LANG" == "" ]] && localectl set-locale LANG=en_US.utf8
} # end - only live updates
exit 0