Removed users.ini from package, as it causes conflicts

This commit is contained in:
L. Bradley LaBoon 2016-09-28 10:39:23 -04:00
parent 4ff58306e5
commit db67728350
2 changed files with 7 additions and 3 deletions

View file

@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
# Tue Sep 27 16:32:00 UTC 2016
# Wed Sep 28 14:38:51 UTC 2016
pkgbase = splunkforwarder
pkgdesc = Splunk Universal Forwarder
pkgver = 6.5.0_59c8927def0f
pkgrel = 1
pkgrel = 2
url = http://www.splunk.com/
install = splunkforwarder.install
arch = x86_64

View file

@ -2,7 +2,7 @@
pkgname=splunkforwarder
basever=6.5.0
pkgver=${basever}_59c8927def0f
pkgrel=1
pkgrel=2
pkgdesc="Splunk Universal Forwarder"
url="http://www.splunk.com/"
arch=('x86_64' 'i686')
@ -22,4 +22,8 @@ package() {
install -Dm644 "$pkgname.service" "$pkgdir/usr/lib/systemd/system/$pkgname.service"
mkdir "$pkgdir/opt"
cp -r "$pkgname" "$pkgdir/opt/"
# This file causes conflicts with existing installs
# and ships empty anyway, so just remove it
rm "$pkgdir/opt/$pkgname/etc/users/users.ini"
}