Removed users.ini from package, as it causes conflicts

This commit is contained in:
L. Bradley LaBoon 2016-09-28 10:37:31 -04:00
parent e51ddf1081
commit ef5b5cb154
2 changed files with 7 additions and 3 deletions

View file

@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
# Tue Sep 27 16:28:03 UTC 2016
# Wed Sep 28 14:36:45 UTC 2016
pkgbase = splunk
pkgdesc = Statistical analysis and search tool for logs and machine data
pkgver = 6.5.0_59c8927def0f
pkgrel = 1
pkgrel = 2
url = http://www.splunk.com/
install = splunk.install
arch = x86_64

View file

@ -2,7 +2,7 @@
pkgname=splunk
basever=6.5.0
pkgver=${basever}_59c8927def0f
pkgrel=1
pkgrel=2
pkgdesc="Statistical analysis and search tool for logs and machine data"
url="http://www.splunk.com/"
arch=('x86_64' 'i686')
@ -21,4 +21,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"
}