comparison src/package @ 14:443aa0e8c6fa

changes suggested by Nigel Horne
author carl
date Mon, 26 Apr 2004 09:28:30 -0700
parents 2752e512fd32
children 19f11ae628df
comparison
equal deleted inserted replaced
13:2752e512fd32 14:443aa0e8c6fa
1 #!/bin/bash 1 #!/bin/bash
2 2
3 target1=/home/httpd/html/510sg/util/dnsbl.tar.gz 3 VER=dnsbl-2.1
4 target2=/home/httpd/html/510sg/dnsbl.conf 4 mkdir $VER
5 target3=/home/httpd/html/510sg/dnsbl.html 5 target1=/home/httpd/html/510sg/util/dnsbl.tar.gz
6 target2=/home/httpd/html/510sg/dnsbl.conf
7 target3=/home/httpd/html/510sg/dnsbl.html
6 8
7 mv -f dnsbl.conf dnsbl.conf.save 9 cp sample.conf $VER/dnsbl.conf
8 mv sample.conf dnsbl.conf 10 cp *cpp $VER
9 tar cfvz $target1 dnsbl.cpp scanner.cpp test.cpp dnsbl.conf dnsbl.rc install.bash LICENSE 11 cp *rc $VER
10 mv dnsbl.conf sample.conf 12 cp install.bash $VER
11 mv dnsbl.conf.save dnsbl.conf 13 cp LICENSE $VER
14 tar cfvz $target1 $VER
12 15
13 cp sample.conf $target2 16 cp sample.conf $target2
14 cp dnsbl.html $target3 17 cp dnsbl.html $target3
15 18
16 scp $target1 ns1:$target1 19 scp $target1 ns1:$target1
17 scp $target2 ns1:$target2 20 scp $target2 ns1:$target2
18 scp $target3 ns1:$target3 21 scp $target3 ns1:$target3
22 rm -rf $VER