blob: f75af65e0b8afdce82da2ada52cc54253b39b3fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
post_install() {
echo '--> This package expects your @VERS@ device to run distccd on port @PORT@'
echo '--> Adjust DISTCC_ARGS in /etc/conf.d/distccd on your @VERS@ device to match this'
echo '--> ie: DISTCC_ARGS=" ... --port @PORT@ ..."'
echo '--> Remember to define the new port in DISTCC_HOSTS in /etc/makepkg.conf as well'
echo '--> ie: DISTCC_HOSTS="localhost:@PORT@ foo:@PORT@ bar:@PORT@"'
}
post_upgrade() {
# change occurred on version 7.2.1-4 so warn users of older versions
if [ $(vercmp 7.2.1-5 $2) -eq 1 ]; then
post_install
fi
}
|