diff options
author | Erich Eckner <git@eckner.net> | 2020-04-27 23:41:13 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-04-27 23:41:13 +0200 |
commit | ec23f57cef62c4ac46228a7c62eb0e9210597430 (patch) | |
tree | 5b508e0e5c7bb3b8e6f8c1f351cd21d0a4ce4259 | |
parent | f32f534f283d855cc9c4ce5c73957ba1d0323d87 (diff) | |
download | archlinuxewe-ec23f57cef62c4ac46228a7c62eb0e9210597430.tar.xz |
bareos: /usr/local/bin/ -> /usr/bin/
-rw-r--r-- | bareos/PKGBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bareos/PKGBUILD b/bareos/PKGBUILD index df673e515..06ac9575c 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() { |