summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Peukert2024-02-26 20:18:11 +0100
committerDaniel Peukert2024-02-26 20:18:11 +0100
commite369335ebd734ae41abb5b838937bea20aa8fa84 (patch)
tree679215d8f1f734834589c582b8195fdff7e5d187
parent3a377e3e0ad6c466e37b2e043970b72c748a03b8 (diff)
downloadaur-e369335ebd734ae41abb5b838937bea20aa8fa84.tar.gz
Add compas config file to backup array
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD1
2 files changed, 2 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 62a18770130d..0b94cf69c3cf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -20,6 +20,7 @@ pkgbase = mongodb-compass-readonly-beta-bin
optdepends = org.freedesktop.secrets
provides = mongodb-compass-readonly-beta
conflicts = mongodb-compass-readonly-beta
+ backup = etc/mongodb-compass.conf
source = mongodb-compass-readonly-beta-bin-1.42.2.beta.4.rpm::https://downloads.mongodb.com/compass/beta/mongodb-compass-readonly-beta-1.42.2-beta.4.x86_64.rpm
source = mongodb-compass.conf
sha512sums = 1ce9cba0bdb91f536b95c835611844358ad80b64ac07c92343790c4e3e5fed3f99f9596de62c5422810d12afd3154f9e2fd81330fe3bc306ac63b31765c1320a
diff --git a/PKGBUILD b/PKGBUILD
index 0c9dc045e576..1ce058130b1d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,6 +18,7 @@ depends=(
optdepends=('org.freedesktop.secrets')
provides=("$_pkgname")
conflicts=("$_pkgname")
+backup=('etc/mongodb-compass.conf')
_betaprefix="$([[ "$_pkgname" =~ -beta$ ]] && printf 'beta/' || printf '')"
source=(
"$pkgname-$pkgver.rpm::https://downloads.mongodb.com/compass/$_betaprefix$_pkgname-$_pkgver.x86_64.rpm"