Skip to content

Commit

Permalink
progress on install-nextcloud.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
VectorCell committed Aug 6, 2020
1 parent 4e51316 commit 654e130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install-nextcloud.sh
Expand Up @@ -48,9 +48,9 @@ fi
# downloads NextCloud

NEXTCLOUD_URL=https://download.nextcloud.com/server/releases/nextcloud-19.0.1.tar.bz2
NEXTCLOUD_ARCHIVE=/home/$USER/Programs/$(wcho $NEXCLOUD_URL | rev | tr '/' ' ' | awk '{print $1}' | rev)
NEXTCLOUD_ARCHIVE=/home/$USER/Programs/$(echo $NEXCLOUD_URL | rev | tr '/' ' ' | awk '{print $1}' | rev)
if [ ! -e $NEXTCLOUD_ARCHIVE ]; then
wget -O $NEXTCLOUD_ARCHIVE $NEXCLOUD_URL
wget -O $NEXTCLOUD_ARCHIVE $NEXTCLOUD_URL
fi

APACHE_DOCUMENT_ROOT=$(grep -i 'DocumentRoot' /etc/apache2/sites-available/000-default.conf | awk '{print $2}')
Expand Down

0 comments on commit 654e130

Please sign in to comment.