Skip to content

Commit

Permalink
silence output of download and untar in nc-nextcloud.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Jun 13, 2017
1 parent c7cf262 commit 7356998
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
9 changes: 9 additions & 0 deletions etc/nextcloudpi-config.d/dnsmasq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions etc/nextcloudpi-config.d/nc-nextcloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 9 additions & 0 deletions etc/nextcloudpi-config.d/no-ip.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7356998

Please sign in to comment.