Allow user_external for Nextcloud 16 (and eventually 17) (#1655)

This commit is contained in:
jvolkenant 2019-11-02 12:28:37 -07:00 committed by Joshua Tauberer
parent 7558ffd4f3
commit df80b9fc71

View file

@ -50,7 +50,7 @@ InstallNextcloud() {
# Starting with Nextcloud 15, the app user_external is no longer included in Nextcloud core,
# we will install from their github repository.
if [[ $version =~ ^15 ]]; then
if [[ $version =~ ^1[567] ]]; then
wget_verify https://github.com/nextcloud/user_external/releases/download/v0.7.0/user_external-0.7.0.tar.gz 555a94811daaf5bdd336c5e48a78aa8567b86437 /tmp/user_external.tgz
tar -xf /tmp/user_external.tgz -C /usr/local/lib/owncloud/apps/
rm /tmp/user_external.tgz