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 'etc/nextcloudpi-config.d/nc-nextcloud.sh')
-rw-r--r--etc/nextcloudpi-config.d/nc-nextcloud.sh13
1 files changed, 4 insertions, 9 deletions
diff --git a/etc/nextcloudpi-config.d/nc-nextcloud.sh b/etc/nextcloudpi-config.d/nc-nextcloud.sh
index a31f57da..7c245cea 100644
--- a/etc/nextcloudpi-config.d/nc-nextcloud.sh
+++ b/etc/nextcloudpi-config.d/nc-nextcloud.sh
@@ -23,21 +23,16 @@ DESCRIPTION="Install any NextCloud version"
export DEBIAN_FRONTEND=noninteractive
-show_info()
-{
- [ -d /var/www/nextcloud ] && \
- whiptail --yesno \
- --backtitle "NextCloudPi configuration" \
- --title "NextCloud installation" \
-"This new installation will cleanup current
+[ -d /var/www/nextcloud ] && { # don't show this during image build
+INFOTITLE="NextCloud installation"
+INFO="This new installation will cleanup current
NextCloud instance, including files and database.
You can later use nc-init to configure to NextCloudPi defaults
** perform backup before proceding **
-You can use nc-backup " \
- 20 90
+You can use nc-backup "
}
install() { :; }