summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/foldingathome/foldingathome.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-01-26 21:04:22 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-01-26 21:04:22 (GMT)
commit4c9c4297f2f3fe5275ac24239cb8bfb3fb294923 (patch)
tree7829c8e17bd137ebcf5e63bdc0ef2addcaff7f79 /abs/extra-testing/community/foldingathome/foldingathome.install
parent438092055547037abd985ddec83cfe06551e62a6 (diff)
parent8632d675abcb109faa2222edb2dace80b71f1a2c (diff)
downloadlinhes_pkgbuild-4c9c4297f2f3fe5275ac24239cb8bfb3fb294923.zip
linhes_pkgbuild-4c9c4297f2f3fe5275ac24239cb8bfb3fb294923.tar.gz
linhes_pkgbuild-4c9c4297f2f3fe5275ac24239cb8bfb3fb294923.tar.bz2
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD.git
Diffstat (limited to 'abs/extra-testing/community/foldingathome/foldingathome.install')
-rwxr-xr-xabs/extra-testing/community/foldingathome/foldingathome.install30
1 files changed, 30 insertions, 0 deletions
diff --git a/abs/extra-testing/community/foldingathome/foldingathome.install b/abs/extra-testing/community/foldingathome/foldingathome.install
new file mode 100755
index 0000000..8eedb6c
--- /dev/null
+++ b/abs/extra-testing/community/foldingathome/foldingathome.install
@@ -0,0 +1,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 $*