Develop and Download Open Source Software

Browse CVS Repository

Contents of /h14m/namazu_for_hns/setup-filter.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download) (as text)
Sat Mar 11 14:54:40 2000 UTC (24 years, 1 month ago) by kenji
Branch: MAIN
CVS Tags: namazu_for_hns-2-0-pl5, namazu_for_hns-2-0-pl4, namazu_for_hns-2-0-pl3, namazu_for_hns-2-0-pl2, HEAD
Changes since 1.2: +19 -2 lines
File MIME type: text/x-sh
filter setup script improvement

1 #! /bin/sh
2
3 # hnf filter for Namazu 2.0 installer
4 # version 0.0.1
5 # 1999/12/14 Kenji Suzuki <kenji@h14m.org>
6
7 # Copyright (C) 1998,1999 Kenji Suzuki, HyperNikkiSystem Project
8
9 # This program is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU General Public License
11 # as published by the Free Software Foundation; either version 2
12 # of the License, or any later version.
13
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
18
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22
23 # $Id: setup-filter.sh,v 1.2 2000/01/19 11:33:30 kenji Exp $
24
25 PREFIX=$1
26 PREFIX=${PREFIX:-"/usr/local"}
27
28 FILTER_DIR="$PREFIX/share/namazu/filter"
29
30 # install
31 echo
32 echo "You're installing:"
33 ls -l hnf.pl
34 echo "Already installed:"
35 ls -l "$FILTER_DIR/hnf.pl"
36 echo
37 echo "----------------------------------------------"
38 echo " If you've installed older verison of hnf.pl,"
39 echo " you can restore it:"
40 echo " $ cd $FILTER_DIR"
41 echo " $ mv hnf.pl.bk hnf.pl"
42 echo "----------------------------------------------"
43 echo
44
45 cp -p "$FILTER_DIR/hnf.pl" "$FILTER_DIR/hnf.pl.bk"
46 echo "cp -p $FILTER_DIR/hnf.pl $FILTER_DIR/hnf.pl.bk"
47 cp -p hnf.pl "$FILTER_DIR"
48 echo "cp -p hnf.pl $FILTER_DIR"
49 echo
50

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26