~ubuntu-branches/ubuntu/quantal/maradns/quantal

« back to all changes in this revision

Viewing changes to build/uninstall.sh

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2012-01-12 23:35:38 UTC
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: package-import@ubuntu.com-20120112233538-5jkaqrh9nbqtf1ey
Tags: upstream-2.0.04+really1.4.09
ImportĀ upstreamĀ versionĀ 2.0.04+really1.4.09

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/sh
2
2
 
3
 
 
4
3
# Shell script which uninstalls the MaraDNS files 
5
4
 
6
5
# We call install.locations to set BIN, SBIN, MAN1, and MAN8
14
13
echo Removing MaraDNS by erasing programs in $BIN and $SBIN,
15
14
echo man pages in $MAN1 and $MAN8, and the directory tree $DOCS
16
15
cd $SBIN
17
 
rm maradns zoneserver Deadwood
 
16
rm maradns zoneserver
18
17
cd $BIN
19
18
rm askmara getzone
20
19
cd $MAN1
21
 
rm askmara.1 getzone.1 Deadwood.1
 
20
rm askmara.1 getzone.1
22
21
cd $MAN8
23
22
rm maradns.8 zoneserver.8
24
23
rm -fr $DOCS
27
26
        rm /etc/rc.d/rc3.d/S60maradns
28
27
        rm /etc/rc.d/rc5.d/S60maradns
29
28
        rm /etc/rc.d/init.d/maradns
30
 
        rm /etc/rc.d/rc3.d/K60maradns.zoneserver
31
 
        rm /etc/rc.d/rc5.d/K60maradns.zoneserver
32
 
        rm /etc/rc.d/init.d/maradns.zoneserver
33
 
        rm /etc/rc.d/rc3.d/S60maradns.deadwood
34
 
        rm /etc/rc.d/rc5.d/S60maradns.deadwood
35
 
        rm /etc/rc.d/init.d/maradns.deadwood
36
29
fi
37
30
 
38
31
echo Note that cahced copies of man pages may still be lurking around
39
32
echo
40
33
echo Not removing configuration files.  If you wish to completely purge 
41
 
echo MaraDNS from your system, rm /etc/mararc, /etc/dwood3rc and the 
42
 
echo /etc/maradns/ directory, as well as any cached copies of MaraDNS man pages
 
34
echo MaraDNS from your system, rm /etc/mararc and the /etc/maradns/
 
35
echo directory, and remove any cached copies of MaraDNS man pages
43
36