root/trunk/fink/main/finkinfo/macathena-afs-conf-patch.info

Revision 108, 0.6 kB (checked in by broder, 16 years ago)

macathena-afs-conf-patch checks to see if my AFS patch is installed.

If the patch has not been installed, it errors out and points the user to the .pkg installer I wrote. I think that this is better than actually applying the patch directly because it becomes much clearer what it means to "uninstall" this package

Line 
1 Package: macathena-afs-conf-patch
2 Version: 107
3 Revision: 1
4 Source: http://macathena.mit.edu/dist/afs-conf-patch-svn%v.tar.gz
5 Maintainer: SIPB MacAthena Project <sipb-macathena@mit.edu>
6 HomePage: http://macathena.mit.edu/
7 License: Public Domain
8 Description: Ensure installation of afs.conf OpenAFS patch
9 Source-MD5: fb434f86e08fae5eb6b6dd3ae22898c2
10 DocFiles: copyright readme
11
12 CompileScript: <<
13 <<
14 InstallScript: <<
15 <<
16 PostInstScript: <<
17         #!/bin/bash
18         if [ ! -e /var/db/openafs/etc/config/afs.conf ]; then
19                 printf "\n\n== ERROR: ==\n"
20                 cat %p/share/doc/%n/readme
21                 printf "\n\n"
22                 exit 1
23         fi
24 <<
Note: See TracBrowser for help on using the browser.