Adding user tracking for build process

This commit is contained in:
DarkFeather 2020-11-24 03:47:54 -06:00
parent 2cc00d652a
commit 1474aecd5d
Signed by: DarkFeather
GPG Key ID: 1CC1E3F4ED06F296

View File

@ -23,6 +23,7 @@ reverse: ${pkgdir}/usr/lib/systemd/system/raven.service
cp ${pkgdir}/usr/lib/systemd/system/raven.service .
checkperm: ${pkgdir}/opt/raven.mono
if ! id raven; then useradd raven; echo User raven added; fi
chown -R raven:raven ${pkgdir}/opt/raven.mono ${CONFDIR}*
chmod 0600 ${pkgdir}/opt/raven.mono ${CONFDIR}*/*
chmod 0700 ${CONFDIR}*