summaryrefslogtreecommitdiff
path: root/bareos
diff options
context:
space:
mode:
Diffstat (limited to 'bareos')
-rw-r--r--bareos/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/bareos/PKGBUILD b/bareos/PKGBUILD
index df673e51..06ac9575 100644
--- a/bareos/PKGBUILD
+++ b/bareos/PKGBUILD
@@ -24,7 +24,7 @@ pkgname=("${pkgbase}-common"
"${pkgbase}-storage-python-plugin")
pkgver=19.2.7
-pkgrel=1
+pkgrel=2
arch=(x86_64 i486 i686 pentium4 armv6h armv7h aarch64)
groups=('bareos')
pkgdesc="Bareos - Backup Archiving REcovery Open Sourced"
@@ -119,6 +119,8 @@ build() {
"$srcdir/install/usr/share/bareos/config/bareos-sd.d/storage/bareos-sd.conf"
sed -i '1 a PID Directory = /run/bareos/fd' \
"$srcdir/install/usr/share/bareos/config/bareos-fd.d/client/myself.conf"
+ find "$srcdir/install/usr/share/bareos/config" -type f \
+ -exec sed -i 's@/usr/local/bin/@/usr/bin/@g' {} \;
}
package_bareos-common() {