PKGBUILDs/extra/boinc/boinc.install

16 lines
504 B
Plaintext
Raw Permalink Normal View History

2015-10-29 01:16:06 +00:00
post_install() {
2017-06-19 23:21:39 +00:00
# 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.
2015-10-29 01:16:06 +00:00
systemd-sysusers boinc.conf
mkdir -p var/lib/boinc
chown -R boinc:boinc var/lib/boinc
}
2018-07-08 17:34:58 +00:00
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
}