1#!/bin/sh
2
3# also a quick hack
4# i don't wanne waste much time with pkg_create and rpm doc's at the moment..
5
6
7BSD="/usr/share/games/fortune"
8LINUX="/usr/share/games/fortunes"
9OTHER="~/fortunes"
10
11DST="FALSE"
12
13
14if [ -x $BSD ]; then
15DST=$BSD
16fi
17
18if [ -x $LINUX ]; then
19DST=$LINUX
20fi
21
22if [ -x $OTHER ]; then
23DST=$OTHER
24fi
25
26if [ $DST != "FALSE" ]; then
27 cp bofh $DST
28 cp bofh.dat $DST
29  else
30   echo "cant find the fortune path"
31   exit 1
32fi
33
34exit 0
35
36#EOF