diff options
author | Leonard de Ruijter | 2018-09-20 07:24:25 +0200 |
---|---|---|
committer | Leonard de Ruijter | 2018-09-20 07:24:25 +0200 |
commit | 44c0afd8cf78863d533088a2b4726c2b612e93f3 (patch) | |
tree | 6261f56c370dc9888bf012eb8fd0d0b1e29ac6b7 | |
parent | d3320ca1753dcf830a93663d423e42111510236d (diff) | |
download | aur-44c0afd8cf78863d533088a2b4726c2b612e93f3.tar.gz |
Make /var/lib/icecast the home dir for the icecast user
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | icecast-kh.install | 6 |
3 files changed, 9 insertions, 7 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Wed Jul 4 17:43:39 UTC 2018 +# Thu Sep 20 05:24:11 UTC 2018 pkgbase = icecast-kh pkgdesc = The KH branche extends the official release of Icecast with features that may be (if found to be working out well) merged into the next official release. pkgver = 2.4.0_kh10 - pkgrel = 1 + pkgrel = 2 url = http://karlheyes.github.com install = icecast-kh.install arch = i686 @@ -26,7 +26,7 @@ pkgbase = icecast-kh source = icecast-kh.logrotate source = start-by-icecast.patch source = icecast-kh.service - sha256sums = 7d8fbcc6da2471bd21a9feacebe187aa0b4d1aab3c5ad74efb7fcb73bb27a4b1 + sha256sums = 783684db7b199b0e4096fcbd9f1b4c50bb79542e1a33dbaf6d817b2ba4150d33 sha256sums = 46f4d6942223a6d82f0b188e616a8a9cda3911663d59cc976c44b7a9822149f0 sha256sums = b09ac79daccf8347ead4088aca31d2214dcd27e211e9ee2e96ef1a44b65df84f sha256sums = 4b7f31aff45c6a572d54279531b7944567363d4c2bcd86d9c48887dc7da80a73 @@ -2,7 +2,7 @@ pkgname=icecast-kh pkgver=2.4.0_kh10 -pkgrel=1 +pkgrel=2 pkgdesc='The KH branche extends the official release of Icecast with features that may be (if found to be working out well) merged into the next official release.' arch=('i686' 'x86_64') url='http://karlheyes.github.com' @@ -18,7 +18,7 @@ source=(https://github.com/karlheyes/$pkgname/archive/${pkgname/-*}-${pkgver//_/ $pkgname.logrotate start-by-icecast.patch $pkgname.service) -sha256sums=('7d8fbcc6da2471bd21a9feacebe187aa0b4d1aab3c5ad74efb7fcb73bb27a4b1' +sha256sums=('783684db7b199b0e4096fcbd9f1b4c50bb79542e1a33dbaf6d817b2ba4150d33' '46f4d6942223a6d82f0b188e616a8a9cda3911663d59cc976c44b7a9822149f0' 'b09ac79daccf8347ead4088aca31d2214dcd27e211e9ee2e96ef1a44b65df84f' '4b7f31aff45c6a572d54279531b7944567363d4c2bcd86d9c48887dc7da80a73') diff --git a/icecast-kh.install b/icecast-kh.install index 9a2a1adbba3c..ba7b90f93b5e 100644 --- a/icecast-kh.install +++ b/icecast-kh.install @@ -8,12 +8,14 @@ post_install() { fi if getent passwd icecast &> /dev/null ; then - usermod -s /bin/false -c "icecast user" -d /usr/share/icecast -u 88 -g icecast icecast &> /dev/null + usermod -s /bin/false -c "icecast user" -d /var/lib/icecast -u 88 -g icecast icecast &> /dev/null else - useradd -s /bin/false -c "icecast user" -d /usr/share/icecast -u 88 -g icecast -r icecast &> /dev/null + useradd -s /bin/false -c "icecast user" -d /var/lib/icecast -u 88 -g icecast -r icecast &> /dev/null fi # create the logs folder install -do88 -g19 -m0755 /var/log/icecast + # create folder in /var/lib/ + install -do88 -g88 -m0755 /var/lib/icecast } # arg 1: the new package version |