From 3de5fe0cfe0ded97e945db5ccf617cd40bfb79db Mon Sep 17 00:00:00 2001 From: nachoparker Date: Sun, 23 Sep 2018 20:30:47 -0600 Subject: armbian: fix locales for ncp-config --- changelog.md | 8 ++++++-- ncp.sh | 3 +++ update.sh | 3 +++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index d853667b..f834b997 100644 --- a/changelog.md +++ b/changelog.md @@ -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 diff --git a/ncp.sh b/ncp.sh index 7188617b..ee251320 100644 --- a/ncp.sh +++ b/ncp.sh @@ -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 } diff --git a/update.sh b/update.sh index 95056881..5db37148 100755 --- a/update.sh +++ b/update.sh @@ -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 -- cgit v1.2.3