diff options
Diffstat (limited to 'etc/nextcloudpi-config.d/nc-restore.sh')
-rw-r--r-- | etc/nextcloudpi-config.d/nc-restore.sh | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/etc/nextcloudpi-config.d/nc-restore.sh b/etc/nextcloudpi-config.d/nc-restore.sh index faadf429..6d4c221f 100644 --- a/etc/nextcloudpi-config.d/nc-restore.sh +++ b/etc/nextcloudpi-config.d/nc-restore.sh @@ -21,20 +21,13 @@ BASEDIR=/var/www DBADMIN=ncadmin DESCRIPTION="Restore a previously backuped NC instance" -show_info() -{ - [ -d /var/www/nextcloud ] && \ - whiptail --yesno \ - --backtitle "NextCloudPi configuration" \ - --title "Restore NextCloud backup" \ -"This new installation will cleanup current +INFOTITLE="Restore NextCloud backup" +INFO="This new installation will cleanup current NextCloud instance, including files and database. ** perform backup before proceding ** -You can use nc-backup " \ - 20 90 -} +You can use nc-backup" configure() { |