Skip to content
Snippets Groups Projects
Commit 628f86cf authored by Arie Peterson's avatar Arie Peterson
Browse files

Merge branch '1070-fix-install-contacts-app' into 'main'

Fix installing apps that have a name that is also part of other apps

Closes #1070

See merge request !281
parents 61b78147 198b9d50
No related branches found
No related tags found
1 merge request!281Fix installing apps that have a name that is also part of other apps
Pipeline #29082 passed with stages
in 10 minutes and 47 seconds
# Changelog
## [0.12.2] - 2022-09-28
* Fix bug with installing "contacts" app
## [0.12.0] - 2022-09-21
* Allow installing apps from GitHub releases
......
......@@ -3,7 +3,7 @@ apiVersion: v2
description: |
A helm chart for installing NextCloud and setting up ONLYOFFICE integration
name: nextcloud-onlyoffice
version: 0.12.1
version: 0.12.2
appVersion: NC-24.0.5-OO-7.2.0.204
icon: https://cdn.rawgit.com/docker-library/docs/defa5ffc7123177acd60ddef6e16bddf694cc35f/nextcloud/logo.svg
dependencies:
......
......@@ -87,10 +87,12 @@ data:
fi
{{- else }}
# Unpinned app
if ! php $occ app:list | grep -q {{ .name }}; then
if ! echo $app_versions | grep -q '"{{ .name }}"'; then
echo "Installing app {{ .name }}"
php $occ app:install {{ .name }} --keep-disabled --no-interaction
else
# Update the app to its latest version
echo "Updating app {{ .name }}"
php $occ app:update {{ .name }} --no-interaction
fi
{{ end }} # end if and .github_repository .version
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment