summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2022-02-02 22:05:43 +0100
committerErich Eckner <git@eckner.net>2022-02-02 22:05:43 +0100
commitaaa9a3a2870140c7d0bc4bd41b74e452fa9b5d61 (patch)
treee74adc6ef746d801f9482a5ed41e1eaad1630ed1
parent16faa3cad273ab539da0ec8141079903b088a017 (diff)
downloadarchlinuxewe-aaa9a3a2870140c7d0bc4bd41b74e452fa9b5d61.tar.xz
bareos: include all *.sql
-rw-r--r--bareos/PKGBUILD12
1 files changed, 2 insertions, 10 deletions
diff --git a/bareos/PKGBUILD b/bareos/PKGBUILD
index 733728e2c..3ce6c7c89 100644
--- a/bareos/PKGBUILD
+++ b/bareos/PKGBUILD
@@ -21,7 +21,7 @@ pkgname=("${pkgbase}-common"
"${pkgbase}-webui")
pkgver=21.0.0
-pkgrel=1
+pkgrel=2
arch=(x86_64 i486 i686 pentium4 armv6h armv7h aarch64)
groups=('bareos')
pkgdesc="Bareos - Backup Archiving REcovery Open Sourced"
@@ -264,15 +264,7 @@ package_bareos-database-postgresql() {
"$srcdir/install/usr/lib/bareos/scripts/ddl/creates/postgresql.sql" \
-t "$pkgdir/usr/lib/bareos/scripts/ddl/creates"
install -Dm644 \
- "$srcdir/install/usr/lib/bareos/scripts/ddl/updates/postgresql.10_11.sql" \
- "$srcdir/install/usr/lib/bareos/scripts/ddl/updates/postgresql.11_12.sql" \
- "$srcdir/install/usr/lib/bareos/scripts/ddl/updates/postgresql.12_14.sql" \
- "$srcdir/install/usr/lib/bareos/scripts/ddl/updates/postgresql.14_2001.sql" \
- "$srcdir/install/usr/lib/bareos/scripts/ddl/updates/postgresql.2001_2002.sql" \
- "$srcdir/install/usr/lib/bareos/scripts/ddl/updates/postgresql.2002_2003.sql" \
- "$srcdir/install/usr/lib/bareos/scripts/ddl/updates/postgresql.2003_2004.sql" \
- "$srcdir/install/usr/lib/bareos/scripts/ddl/updates/postgresql.2004_2171.sql" \
- "$srcdir/install/usr/lib/bareos/scripts/ddl/updates/postgresql.bee.1017_2004.sql" \
+ "$srcdir/install/usr/lib/bareos/scripts/ddl/updates/"*".sql" \
-t "$pkgdir/usr/lib/bareos/scripts/ddl/updates"
}