mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-22 02:17:26 +00:00
this is what I meant
This commit is contained in:
parent
8b2fed1a2a
commit
7603ce0489
@ -13,9 +13,9 @@ apt_install \
|
|||||||
apt-get purge -qq -y owncloud*
|
apt-get purge -qq -y owncloud*
|
||||||
|
|
||||||
# Install ownCloud from source
|
# 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
|
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/ ] \
|
if [ ! -d /usr/local/lib/owncloud/ ] \
|
||||||
|| ! grep -q $owncloud_ver /usr/local/lib/owncloud/version.php; then
|
|| ! grep -q $owncloud_ver /usr/local/lib/owncloud/version.php; then
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user