From 54e5c21f1c370ab6e3f0a4a95c7c9e7e6d1bd929 Mon Sep 17 00:00:00 2001 From: nachoparker Date: Tue, 23 Oct 2018 18:55:39 -0600 Subject: ncp-config: use simple characters --- armbian.sh | 3 --- bin/ncp-config | 4 ++-- changelog.md | 4 +++- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/armbian.sh b/armbian.sh index 83453a43..e567f662 100644 --- a/armbian.sh +++ b/armbian.sh @@ -38,9 +38,6 @@ install_script post-inst.sh cd - -## locales for ncp-config -localectl set-locale LANG=en_US.utf8 - # force change root password at first login (again) chage -d 0 root diff --git a/bin/ncp-config b/bin/ncp-config index ef36ddfa..40b69b51 100755 --- a/bin/ncp-config +++ b/bin/ncp-config @@ -38,7 +38,7 @@ function nextcloud-config() local LIST=() for item in $CONFDIR/*.sh; do DESC=$( grep "DESCRIPTION=" "$item" | sed 's|^DESCRIPTION="||;s|"$||' ) - is_active_script "$item" &>/dev/null && local ON="✓" || local ON=" " + is_active_script "$item" &>/dev/null && local ON="*" || local ON=" " LIST+=( "$ON $( basename "$item" .sh )" "$DESC" ) done @@ -54,7 +54,7 @@ function nextcloud-config() [[ $? -ne $DIALOG_OK ]] || [[ "$script" == "" ]] && return 0 # remove ✓ and spaces - script=$( sed 's=✓\| ==g' <<< "$script" ) + script=$( sed 's=*\| ==g' <<< "$script" ) # launch selected script info_script "$script".sh || continue; diff --git a/changelog.md b/changelog.md index ae241853..b75f3319 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v0.64.8](https://github.com/nextcloud/nextcloudpi/commit/46972c7) (2018-10-22) ncp-web: update chinese translations +[v0.64.9](https://github.com/nextcloud/nextcloudpi/commit/f2930ca) (2018-10-23) ncp-config: use simple characters + +[v0.64.8](https://github.com/nextcloud/nextcloudpi/commit/dceacdf) (2018-10-22) ncp-web: update chinese translations [v0.64.7 ](https://github.com/nextcloud/nextcloudpi/commit/20a4147) (2018-10-21) ncp-web: update chinese translations -- cgit v1.2.3