blob: 8eedb6c5f0f54f74841f35c28befc4ec1450b1a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# arg 1: the new package version
post_install() {
cat << 'EOM'
--> Please cd to /opt/fah/ and execute ./fah6 -smp -configonly
--> to configure your settings. Then add "foldingathome" to the list
--> of daemons in /etc/rc.conf. If you would like to join the Arch
--> Linux team, use team number 45032. To check current progress,
--> point your browser to file://opt/fah/MyFolding.html
--> It is strongly recommended that you run foldingathome as a user other
--> than root. You can identify a user in /etc/conf.d/foldingathome.
--> A directory called /opt/fah/$FAH_USER will be created."
EOM
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
post_install $1
}
# arg 1: the old package version
pre_remove() {
/bin/true
}
op=$1
shift
$op $*
|