Subversion Repositories camp_sysinfo_client_3

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
78 rodolico 1
#! /usr/bin/env perl
2
 
3
use strict;
4
use warnings;
5
 
6
# uninstall script
7
#
8
# very basic, just looks in several directories and removes files in them
9
# removed config file also
10
 
11
my @dirs = (
12
   '/usr/local/opt/camp/sysinfo-client',
13
   '/usr/local/etc/camp/sysinfo-client',
14
   '/opt/camp/sysinfo-client',
15
   '/etc/camp/sysinfo-client'
16
);
17
 
79 rodolico 18
foreach my $dir ( @dirs ) {
78 rodolico 19
   `rm -fR $dir` if -d $dir;
20
}
21
 
22
1;