Add OwnNote
This commit is contained in:
parent
e4caed9277
commit
2434f207a5
|
@ -17,6 +17,7 @@ apt-get purge -qq -y owncloud*
|
||||||
# Install ownCloud from source of this version:
|
# Install ownCloud from source of this version:
|
||||||
owncloud_ver=8.0.3
|
owncloud_ver=8.0.3
|
||||||
owncloud_hash=3192f3d783f81247eaf2914df63afdd593def4e5
|
owncloud_hash=3192f3d783f81247eaf2914df63afdd593def4e5
|
||||||
|
ownnote_ver=1.0
|
||||||
|
|
||||||
# Check if ownCloud dir exist, and check if version matches owncloud_ver (if either doesn't - install/upgrade)
|
# 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/ ] \
|
||||||
|
@ -60,6 +61,11 @@ if [ ! -d /usr/local/lib/owncloud/ ] \
|
||||||
hide_output sudo -u www-data php /usr/local/lib/owncloud/occ upgrade
|
hide_output sudo -u www-data php /usr/local/lib/owncloud/occ upgrade
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Update OwnNote
|
||||||
|
if [ ! grep -q $ownnote_ver /usr/local/lib/owncloud/apps/ownnote/appinfo/info.xml ]; then
|
||||||
|
git_clone https://github.com/owncloud/contacts $ownnote_ver '' /usr/local/lib/owncloud/apps/ownnote
|
||||||
|
fi
|
||||||
|
|
||||||
# ### Configuring ownCloud
|
# ### Configuring ownCloud
|
||||||
|
|
||||||
# Setup ownCloud if the ownCloud database does not yet exist. Running setup when
|
# Setup ownCloud if the ownCloud database does not yet exist. Running setup when
|
||||||
|
|
Loading…
Reference in New Issue