summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorfordprefect2022-03-14 09:10:24 +0100
committerfordprefect2022-03-14 09:10:24 +0100
commit53f65af12a732c40f5fc3bd66fda15454bd55fd6 (patch)
treeef2070b0e015df81ba950b399070fd4afa8004d2 /PKGBUILD
parentd06ac80608b16ba94c42b839735d8143e8e33b78 (diff)
downloadaur-53f65af12a732c40f5fc3bd66fda15454bd55fd6.tar.gz
small cosmetics
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e8a088a5effe..04d23008812b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -41,8 +41,9 @@ package() {
make DESTDIR="$pkgdir/" install
mv "$pkgdir/usr/sbin" "$pkgdir/usr/bin"
- sed -e 's/^\(RUN_AS=\)nobody/#\1postsrsd/;s/\(\/etc\/postsrsd\)\(\.secret\)/\1\/postsrsd\2/' \
- -e 's/^\(# is \).*$/\1localhost\.localdomain/'< postsrsd.default > "$pkgdir/etc/postsrsd/postsrsd"
+ sed -i -e 's/^\(RUN_AS=\)nobody/#\1postsrsd/;s/\(\/etc\/postsrsd\)\(\.secret\)/\1\/postsrsd\2/' \
+ -e 's/^\(# is \).*$/\1localhost\.localdomain/' \
+ "$pkgdir/etc/postsrsd/postsrsd"
mkdir -p "$pkgdir/usr/lib/systemd/system"
install -Dm644 "$srcdir/sysusers.d-postsrsd.conf" "$pkgdir/usr/lib/sysusers.d/postsrsd.conf"
install -Dm644 "$srcdir/tmpfiles.d-postsrsd.conf" "$pkgdir/usr/lib/tmpfiles.d/postsrsd.conf"