aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2021-02-23 14:37:58 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2021-02-23 14:37:58 +0000
commit94f15dd41783701a70780a510d7498898769434c (patch)
tree21e9f27b2e6092aa70bf7136ebce48bd6e713757
parentc0fddacaaa3c24c6dae929f15c5d4064d8908397 (diff)
downloadaports-94f15dd41783701a70780a510d7498898769434c.tar.gz
aports-94f15dd41783701a70780a510d7498898769434c.tar.bz2
aports-94f15dd41783701a70780a510d7498898769434c.tar.xz
community/nextcloud20: fix provides
Allows proper replacing of viewer and photo apps
-rw-r--r--community/nextcloud20/APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/community/nextcloud20/APKBUILD b/community/nextcloud20/APKBUILD
index 65cd942f0d..231cc4c5e2 100644
--- a/community/nextcloud20/APKBUILD
+++ b/community/nextcloud20/APKBUILD
@@ -3,7 +3,7 @@
pkgname=nextcloud20
_pkgname=nextcloud
pkgver=20.0.7
-pkgrel=0
+pkgrel=1
_replaced_ver=19
pkgdesc="Transitional package to allow nextcloud upgrade from v18->v20 for Alpine 3.12->3.13"
url="http://nextcloud.com"
@@ -27,7 +27,7 @@ provides="$pkgname-contactsinteraction=$pkgver-r$pkgrel
$pkgname-viewer=$pkgver-r$pkgrel
$pkgname-workflowengine=$pkgver-r$pkgrel
"
-replaces="nextcloud$_replaced_ver"
+replaces="nextcloud$_replaced_ver nextcloud${_replaced_ver}-viewer"
install="$pkgname.pre-install $pkgname.pre-upgrade $pkgname.post-upgrade
$pkgname-initscript.post-install"
subpackages="$pkgname-doc $pkgname-initscript $pkgname-mysql $pkgname-pgsql $pkgname-sqlite
@@ -235,7 +235,7 @@ _package_app() {
;;
photos)
app_deps="-viewer"
- provides="$_pkgname-gallery=$pkgver-r$pkgrel"
+ provides="$pkgname-gallery=$pkgver-r$pkgrel"
replaces="$replaces nextcloud${_replaced_ver}-gallery"
;;