mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
silence output of download and untar in nc-nextcloud.sh
This commit is contained in:
parent
c7cf262232
commit
7356998238
@ -21,6 +21,15 @@ DNSSERVER_=8.8.8.8
|
||||
CACHESIZE_=150
|
||||
DESCRIPTION="DNS server with cache"
|
||||
|
||||
show_info()
|
||||
{
|
||||
whiptail --yesno \
|
||||
--backtitle "NextCloudPi configuration" \
|
||||
--title "Info" \
|
||||
"Remember to point your PC and devices DNS to your Raspberry Pi IP" \
|
||||
20 90
|
||||
}
|
||||
|
||||
install()
|
||||
{
|
||||
apt-get update
|
||||
|
||||
@ -44,9 +44,9 @@ configure()
|
||||
{
|
||||
## DOWNLOAD AND (OVER)WRITE NEXTCLOUD
|
||||
cd /var/www/
|
||||
wget https://download.nextcloud.com/server/releases/nextcloud-$VER_.tar.bz2 -O nextcloud.tar.bz2
|
||||
wget -q https://download.nextcloud.com/server/releases/nextcloud-$VER_.tar.bz2 -O nextcloud.tar.bz2
|
||||
rm -rf nextcloud
|
||||
tar -xvf nextcloud.tar.bz2
|
||||
tar -xf nextcloud.tar.bz2
|
||||
rm nextcloud.tar.bz2
|
||||
|
||||
## CONFIGURE FILE PERMISSIONS
|
||||
|
||||
@ -22,6 +22,15 @@ DOMAIN_=mycloud.ownyourbits.com
|
||||
TIME_=30
|
||||
DESCRIPTION="Free Dynamic DNS provider (need account)"
|
||||
|
||||
show_info()
|
||||
{
|
||||
whiptail --yesno \
|
||||
--backtitle "NextCloudPi configuration" \
|
||||
--title "Info" \
|
||||
"For this step to succeed, you need to register a noip account first." \
|
||||
20 90
|
||||
}
|
||||
|
||||
install()
|
||||
{
|
||||
mkdir /tmp/noip && cd /tmp/noip
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user