this is what I meant

This commit is contained in:
Joel Kåberg 2014-09-01 10:32:44 +02:00
parent 8b2fed1a2a
commit 7603ce0489
1 changed files with 1 additions and 1 deletions

View File

@ -13,9 +13,9 @@ apt_install \
apt-get purge -qq -y owncloud*
# Install ownCloud from source
# Check if ownCloud dir exist, and check if version matches 7.0.1 (if it does, upgrade)
owncloud_ver=7.0.2
# Check if ownCloud dir exist, and check if version matches owncloud_ver (if either doesn't - install/upgrade)
if [ ! -d /usr/local/lib/owncloud/ ] \
|| ! grep -q $owncloud_ver /usr/local/lib/owncloud/version.php; then