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

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@techandme.se>2018-02-06 21:27:34 +0300
committerGitHub <noreply@github.com>2018-02-06 21:27:34 +0300
commit9425fd2500a68240f9c755e85b882764728f3a05 (patch)
tree1fdcbd4a4bf6621aa16ac2ce2c102f4dce63faff
parent6c1b17e5ec6745b3eb08c1e8789d6eeaa4d8b435 (diff)
move occ_command to include check_command13.0.0
-rw-r--r--lib.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib.sh b/lib.sh
index f38f8650..0e7698fa 100644
--- a/lib.sh
+++ b/lib.sh
@@ -174,11 +174,6 @@ local PROMPT="$1"
whiptail --msgbox "${PROMPT}" "$WT_HEIGHT" "$WT_WIDTH"
}
-# Example: occ_command 'maintenance:mode --on'
-occ_command() {
-check_command sudo -u www-data php "$NCPATH"/occ "$1"
-}
-
# Check if process is runnnig: is_process_running dpkg
is_process_running() {
PROCESS="$1"
@@ -537,6 +532,11 @@ any_key() {
echo
}
+# Example: occ_command 'maintenance:mode --on'
+occ_command() {
+check_command sudo -u www-data php "$NCPATH"/occ "$1"
+}
+
## bash colors
# Reset
Color_Off='\e[0m' # Text Reset