Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'bin/nextcloudpi-config')
-rwxr-xr-xbin/nextcloudpi-config3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/nextcloudpi-config b/bin/nextcloudpi-config
index a21336a8..a631b8be 100755
--- a/bin/nextcloudpi-config
+++ b/bin/nextcloudpi-config
@@ -34,11 +34,12 @@ function nextcloud-config()
[[ $? -eq $DIALOG_OK ]] && ncp-update
while true; do
+
# fill options
local LIST=()
for item in $CONFDIR/*.sh; do
DESC=$( grep "DESCRIPTION=" "$item" | sed 's|^DESCRIPTION="||;s|"$||' )
- grep -q "^ACTIVE_=yes" "$item" && local ON="✓" || local ON=" "
+ is_active_script "$item" && local ON="✓" || local ON=" "
LIST+=( "$ON $( basename "$item" .sh )" "$DESC" )
done