mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
15 lines
504 B
Text
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
|
|
}
|