diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-10-24 03:55:39 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-10-25 00:46:03 +0300 |
commit | 54e5c21f1c370ab6e3f0a4a95c7c9e7e6d1bd929 (patch) | |
tree | 53f06a1fe82e3bb54e7163c38fcbe519f9d860a3 | |
parent | 9d998ae0db063b97d1b6b6b08a996bf055103ec0 (diff) |
ncp-config: use simple charactersv0.64.9
-rw-r--r-- | armbian.sh | 3 | ||||
-rwxr-xr-x | bin/ncp-config | 4 | ||||
-rw-r--r-- | changelog.md | 4 |
3 files changed, 5 insertions, 6 deletions
@@ -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 |