/[dgee]/dgee/tools/dgremovews.in
ViewVC logotype

Diff of /dgee/tools/dgremovews.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by csmith, Mon Jun 23 19:40:56 2003 UTC revision 1.2 by csmith, Sun Sep 21 10:30:15 2003 UTC
# Line 0  Line 1 
1    #!/bin/sh
2    #
3    # dotGNU Excecution Environment -- removes webservice
4    #
5    # Copyright (C) 2001, 2003  dotGNU Project
6    #
7    # This program is free software; you can redistribute it and/or modify
8    # it under the terms of the GNU General Public License as published by
9    # the Free Software Foundation; either version 2 of the License, or
10    # (at your option) any later version.
11    #
12    # This program is distributed in the hope that it will be useful,
13    # but WITHOUT ANY WARRANTY; without even the implied warranty of
14    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15    # GNU General Public License for more details.
16    #
17    # You should have received a copy of the GNU General Public License
18    # along with this program; if not, write to the Free Software
19    # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20    #
21    # Authors:
22    #   Chris Smith
23    #   Nicolai P Guba
24    #
25    # $Revision$
26    #
27    
28    prefix=@prefix@
29    exec_prefix=@exec_prefix@
30    datadir=@datadir@/dgee
31    reposdir=@REPOSDIR@
32    
33    WS=$1
34    
35    if [ ! -r "${reposdir}/data/${WS}.dll" ]
36    then
37      echo "Webservice ${WS}.dll is not installed"
38    else
39      rm ${reposdir}/data/${WS}.dll
40    fi
41    
42    if [ ! -r "${reposdir}/index/${WS}.dgmx" ]
43    then
44      echo "Webservice definition ${WS}.dgmx is not installed"
45    else
46      rm ${reposdir}/index/${WS}.dgmx
47    fi
48    
49    
50    echo "Webservice ${WS} removed from the DotGNU Execution Environment!"
51    echo

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26