main/postmarketos-artwork: fix upgrade failure with -gnome subpackage (MR 5031)

This subpackage now installs a file that was previously in the other
subpackage it is meant to replace, leading to upgrade conflicts that
have to be manually resolved (i.e. with apk fix)

Fixes: 126f43220 and 1712a2d03
This commit is contained in:
Clayton Craft 2024-04-12 10:12:04 -07:00 committed by Robert Eckelmann
parent abfc585aa6
commit c0e3ea11e0
No known key found for this signature in database
GPG key ID: 30C0D50BEF63BF54

View file

@ -1,7 +1,7 @@
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org> # Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=postmarketos-artwork pkgname=postmarketos-artwork
pkgver=5 pkgver=5
pkgrel=1 pkgrel=2
pkgdesc="Meta package for the postmarketOS artwork" pkgdesc="Meta package for the postmarketOS artwork"
url="https://postmarketos.org/" url="https://postmarketos.org/"
arch="noarch" arch="noarch"
@ -73,6 +73,7 @@ wallpapers_extra() {
wallpapers_gnome() { wallpapers_gnome() {
pkgdesc="Wallpaper configuration for GNOME-based UIs" pkgdesc="Wallpaper configuration for GNOME-based UIs"
replaces="postmarketos-base-ui-gnome-wallpaper-pmos"
install_if="postmarketos-artwork-wallpapers=$pkgver-r$pkgrel postmarketos-base-ui-gnome" install_if="postmarketos-artwork-wallpapers=$pkgver-r$pkgrel postmarketos-base-ui-gnome"
install -Dm644 "$srcdir"/postmarketos-gnome.xml \ install -Dm644 "$srcdir"/postmarketos-gnome.xml \