PKGBUILDs/community/boinc/boinc.install
2018-07-08 17:34:58 +00:00

15 lines
504 B
Text

post_install() {
# We need to know uid and gid to create /var/lib/boinc with proper
# permissions. So keep systemd-sysusers invocation here despite having
# pacman hooks.
systemd-sysusers boinc.conf
mkdir -p var/lib/boinc
chown -R boinc:boinc var/lib/boinc
}
post_upgrade() {
if (( $(vercmp $2 7.10.3) < 0)); then
echo "Since 7.10.3, upstream provided boinc-client.service is used instead of our own one."
echo "Please enable/start the new boinc-client.service if desired."
fi
}